These are the settings to use in settings.py: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'DB-NAME', 'USER': 'USER', 'PASSWORD':'PASSWORD', 'HOST':'HOST', 'PORT': 'PORT', 'OPTIONS': {'charset': 'utf8'}
} } *Dave Edwards* ------------------------ Email > d...@dwedigital.com Mobile > 07788275564 Online > www.dwedigital.com DWE Digital Ltd. Registered in Jersey, Channel Islands Company Registration Number: 116942 --- This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any dissemination, distribution or copying of this message or any files transmitted with it by an unauthorised recipient is strictly prohibited. On Fri, 14 Jun 2019 at 14:08, Sipum Mishra <sipu...@gmail.com> wrote: > Hi sapna, > > Check your settings.py file and search for DATABASE there you can get a > link which is commented. Copy n paste that url and that will take you to > documentation page where you can get what needs to be imported in DATABASE. > > On Fri, 14 Jun, 2019, 4:45 PM Sapna Dhage, <sapnadha...@gmail.com> wrote: > >> >> Hello, >> >> I'm implementing Django application using PostgreSQL. However, I'm not >> able to configure database connection string. >> >> Any idea how do I configure database connection and where should I >> mention database connection string? >> >> Thank you, >> Sapna >> >> -- >> 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 post to this group, send email to django-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/35a7d002-cf8a-4924-8b8b-9df35419b1f2%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/35a7d002-cf8a-4924-8b8b-9df35419b1f2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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 post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAGHZBzyK69aoq02n6dLvYpvJLc5aTxH_RZOOCma3kgqY-ZCLBQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAGHZBzyK69aoq02n6dLvYpvJLc5aTxH_RZOOCma3kgqY-ZCLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP_enV76EDCS9j7ADcaoPmPHyc5FsJ1Ujmvzy3cwbTQPDe5uSQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.