Re: CSS file not Loading

2020-06-29 Thread Suny
Thanks guys, Really appreciate your time and efforts for reviewing and responding back ... I haven't made any changes to the code, looks like browser was taking the cache file of main.css and was taking a lot of time to update the file. Just did hard refresh , and it worked . Thanks again. On

Re: How to add domain from GoDaddy to Heroku

2020-06-29 Thread John McClain
I was able to do so Micah it took almost a day to propagate though. How long has it been since you did the redirects On Mon, 29 Jun 2020 at 22:39, Micah Beckman wrote: > I'm having the exact same issue. The helpline folks weren't able to sort > it out either. > > On Monday, June 22, 2020 at

Re: How to add domain from GoDaddy to Heroku

2020-06-29 Thread Micah Beckman
I'm having the exact same issue. The helpline folks weren't able to sort it out either. On Monday, June 22, 2020 at 4:44:51 PM UTC-4, sunday honesty wrote: > > Has anyone here added a custom domain from GoDaddy to Heroku? > > I have not been able to configure my DNS correctly after following

Huge discount on coding ninjas courses

2020-06-29 Thread Sahil sharma
Hey everyone I'm sahil from coding ninjas I am announcing a great news now 1500 off on coding ninjas courses Details 1270 off by my referral link Additional 230 by me through upi /Paytm after course purchase. Referral link https://classroom.codingninjas.com/app/invite/ITSPQ -- You received

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread Damanjeet Singh
Hello, You need to remove file from migration folder. If this doesn't work, check django_migration table in the database. Regards On Mon, 29 Jun 2020, 18:59 maninder singh Kumar, wrote: > This could be a case for cleaning the database up. Is there kinda too > much data in it, and which one

Re: union in get_initial_queryset in datatable

2020-06-29 Thread Akinfolarin Stephen
sorry don't get you can you be more clear with your error On Tue, Jun 30, 2020 at 4:12 AM Rajshree Some wrote: > list=Model1.objects.filter( > > reservation__in=Model.objects.filter(resource__in=resources).union( > Model2.objects.filter( > >

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread Akinfolarin Stephen
hmm however will might not be able to really understand your problem but what me i feel could help is just search for this keyword [how to delete a model in django] google will always give you an edge On Tue, Jun 30, 2020 at 10:07 AM Arpana Mehta wrote: > You are right sir. Perhaps, if we could

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread Arpana Mehta
You are right sir. Perhaps, if we could see the settings and models file.. it would help On Mon, 29 Jun 2020 at 23:30, maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > This could be a case for cleaning the database up. Is there kinda too > much data in it, and which one is it ? > >

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread maninder singh Kumar
This could be a case for cleaning the database up. Is there kinda too much data in it, and which one is it ? Normally when you use multiple databases, the routers could also cause the problem Without knowing all this and the code, it might be difficult to take a decision Regds Sent from

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread Arpana Mehta
This is because those tables exist in your database probably. And thus when you migrate it is showing error. On Mon, 29 Jun 2020, 19:42 rishi kalsi, wrote: > Hi, > > I am very new to Django or to web programming. > Somehow i have learnt from Django documentation to create models. > >

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread maninder singh Kumar
Are you using multiple databases perhaps. Regds. Willy Sent from my iPhone > On Jun 29, 2020, at 5:54 PM, rishi kalsi wrote: > > Hi, > > I am very new to Django or to web programming. > Somehow i have learnt from Django documentation to create models. > > django.db.utils.ProgrammingError:

Re: In search for experience Django Developer

2020-06-29 Thread Budi Hermansyah
can we know the details ? would you shares with us here? On Fri, Jun 26, 2020 at 9:22 PM BENDEV wrote: > We are liking for a remote Django Developer to with other team members on > a Project: DMS) Documents Management Systems. > > The payment is okay! > Just T applied. > > Please if interested

Re: Required Django programmers for HR Portal project

2020-06-29 Thread Aditya Jawale
Interested On Mon, 29 Jun, 2020, 7:42 PM srinivasan narasiman, < srinivasannarasi...@gmail.com> wrote: > Dear sir > Yes i am interested. > > On Sun, Jun 28, 2020 at 1:27 AM maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> Dear group subscribers, >> >> I require Django programmers

Re: CSS file not Loading

2020-06-29 Thread Hadisur Rahman
put this in your apps sittings on the below. STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')] > STATIC_ROOT = os.path.join(BASE_DIR, 'assets') > > And then run this code >> python manage.py collectstatic then >> python manage.py runserver [image: Mailtrack]

Re: Required Django programmers for HR Portal project

2020-06-29 Thread srinivasan narasiman
Dear sir Yes i am interested. On Sun, Jun 28, 2020 at 1:27 AM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Dear group subscribers, > > I require Django programmers for an HR Job portal. It is an intern > project. > > regards willy > >

raise DatabaseError('ORDER BY term does not match any column in the result set.')

2020-06-29 Thread Rajshree Some
how to send a union queryset in get_initial_queryset of django -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

union in get_initial_queryset in datatable

2020-06-29 Thread Rajshree Some
list=Model1.objects.filter( reservation__in=Model.objects.filter(resource__in=resources).union( Model2.objects.filter( reservation__in=Model.object.filter(resource__in=resources).defer('col4','col5','col6'), Model3.objects.filter(

django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread rishi kalsi
Hi, I am very new to Django or to web programming. Somehow i have learnt from Django documentation to create models. django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists I have deleted my entire model due to the above mentioned error after deleting I ran makemigrations

Re: Unable to import HTML code

2020-06-29 Thread RANGA BHARATH JINKA
Hi, I want to give some steps to go through. 1. Try to close the server and run again. 2. Hard reload the page using ctrl+shift+r and check the console for any errors like css file not found. 3. Check whether the file is linking properly to the correct location in static folder.

Re: Unable to import HTML code

2020-06-29 Thread Avi shah
I have imported all my files that is css , js and webfonts and i have listed it in my settings.py as this STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ] And then and i aslo used the command python manage.py

Re: Is there a package that enables one Django project to authenticate via a second Django project?

2020-06-29 Thread David Rashty
Got it. Thanks for following up. I ended up rolling out my own solution based on django-oauth-toolkit: https://github.com/pandichef/djangito I'd love to get some feedback if you get a chance. Thanks! On Mon, Jun 29, 2020 at 5:10 AM Andréas Kühne wrote: > The remote user functionality is

Re: Is there a package that enables one Django project to authenticate via a second Django project?

2020-06-29 Thread Andréas Kühne
The remote user functionality is still valid - however it is rarely used. I heard about it myself from one of the Django fellows - who are responsible for handling ticket triage on the django project itself. He said exactly what you are saying - that there isn't that much information about it and

Re: Required Django programmers for HR Portal project

2020-06-29 Thread Karan Sahu
Hi Maninder, I am interested to work on the project. Have 4+ years of experience to work on Django and have developed similar kind of portal before. Could you please let me know more details about the project? Best, Karan Sahu On Sunday, June 28, 2020 at 1:28:06 AM UTC+5:30, maninder singh

Re: In search for experience Django Developer

2020-06-29 Thread Karan Sahu
Hi Bendev, Karan here, have 4+ years of experience to work as a Django Developer. Experience to work on Document Management System Please let me know the requirements and details about the project? Best, Karan Sahu On Friday, June 26, 2020 at 7:51:12 PM UTC+5:30, BENDEV wrote: > > We are

contrib.auth.forms Bug

2020-06-29 Thread V O
Hello, Please have a look at the following: I was just about to subclass the login form of django.contrib.auth.forms: "class AuthenticationForm(forms.Form)" after dealing a bit with the code I was about to customize the user_is.active check in order to display a customized message at my

Re: Unable to import HTML code

2020-06-29 Thread Karan Sahu
Hi, Karan here, I can help you on this. Let me know more issues apart from this will resolve all issues? Best, K On Mon, Jun 29, 2020 at 2:04 PM 'Ade Enga' via Django users < django-users@googlegroups.com> wrote: > Try adding this to your project's settings.py file (at the bottom): > >

Error in Connecting Multiple Database Django ( 'DatabaseOperations' object has no attribute 'geo_db_type' )

2020-06-29 Thread Pradyum Gupta
Hi, Can anyone please sort the issue. https://stackoverflow.com/q/62630722/7999665 Regards Pradyum -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Error in Connecting Multiple Database Django ( 'DatabaseOperations' object has no attribute 'geo_db_type' )

2020-06-29 Thread Pradyum Gupta
I am using multiple databases in Django, On the current server, PostGIS is installed and am trying to connect POSTGRESQL from another server, **settings.py** ```python DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'db_name_1',

Re: CSS file not Loading

2020-06-29 Thread Ogunsanya Opeyemi
Yes you need to add STATICFILES_DIRS. OGUNSANYA OPEYEMI On Sun, Jun 28, 2020 at 2:58 PM Clive Bruton wrote: > If you are testing the site with manage.py runserver, then you have > to make sure debug is on. And you have to ensure the app knows where > the static directories are. > > > -- Clive

Re: Unable to import HTML code

2020-06-29 Thread 'Ade Enga' via Django users
Try adding this to your project's settings.py file (at the bottom): STATIC_URL = '/static/' STATICFILES_DIRS = ( os.path.join(BASE_DIR, "static"), ) On Saturday, 27 June 2020 16:55:22 UTC+1, Avi shah wrote: > > Hi my name is Avi > > Just finished a course from Udemy on django. Unable to

Re: Django Admin: how to link to another model from one model list view ?

2020-06-29 Thread Olivier
I've found [1] which seems to match what I was after [1] https://avilpage.com/2017/11/django-tips-tricks-hyperlink-foreignkey-admin.html I hope this could also help others ... Le jeudi 25 juin 2020 10:07:15 UTC+2, Olivier a écrit : > > Hello, > > Let say your app deals with Book and Author