hi Nasim, this is config setting to use the Postgres DB instead of using SQLite in Django Best Regards, Inti VeeraNagaRaja Sankar,M.Tech(IT) M: 9985864383 [email protected] <[email protected]> https://about.me/veeranagarajasankar
On Wed, Mar 20, 2019 at 5:56 PM Nasim TKP <[email protected]> wrote: > What is this will you explain in detail please > > On Wed, 20 Mar 2019, 2:50 pm omar ahmed, <[email protected]> wrote: > >> done ... it works thank you veera >> >> On Tuesday, March 19, 2019 at 3:32:31 PM UTC+2, veera nagaraja sankar >> Inti wrote: >>> >>> first need to install postgresql_psycopg2 driver >>> >>> create postgres user (merudan) >>> >>> # DATABASES = { >>> # 'default': { >>> # 'ENGINE': 'django.db.backends.postgresql_psycopg2', >>> # 'NAME': 'django', >>> # 'USER': 'merudan', >>> # 'PASSWORD': 'merudan', >>> # 'HOST': 'localhost', >>> # 'PORT': '5432', >>> # } >>> # } >>> Best Regards, >>> Inti VeeraNagaRaja Sankar,M.Tech(IT) >>> M: 9985864383 >>> [email protected] >>> >>> >>> On Tue, Mar 19, 2019 at 6:28 PM omar ahmed <[email protected]> wrote: >>> >>>> ok what about old projects >>>> only install postgresql and change db settings >>>> >>>> On Tuesday, March 19, 2019 at 2:42:02 PM UTC+2, Jani Tiainen wrote: >>>>> >>>>> Install Postgre, setup django, change db settings to match your >>>>> Postgre db and user credentials. Start migrations. >>>>> >>>>> >>>>> On Tue, Mar 19, 2019 at 2:35 PM omar ahmed <[email protected]> wrote: >>>>> >>>>>> hello .. >>>>>> how can i Use PostgreSQL with your Django on Ubuntu >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> 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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/django-users/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> -- >>>>> Jani Tiainen >>>>> Software wizard >>>>> >>>>> https://blog.jani.tiainen.cc/ >>>>> >>>>> Always open for short term jobs or contracts to work with 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 [email protected]. >>>> To post to this group, send email to [email protected]. >>>> 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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%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 [email protected]. >> To post to this group, send email to [email protected]. >> 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/5598e6c4-e2fe-4e1d-bd4f-31cc7e18e1e2%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/5598e6c4-e2fe-4e1d-bd4f-31cc7e18e1e2%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 [email protected]. > To post to this group, send email to [email protected]. > 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/CAAVzVZXPFPjojKUNYybzx-wqLRznBbA-iqZsz3wuyt0cwFGjuA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAAVzVZXPFPjojKUNYybzx-wqLRznBbA-iqZsz3wuyt0cwFGjuA%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 [email protected]. To post to this group, send email to [email protected]. 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/CAJFTHQaxSrX8JM%2BMhoJkrhmAuRRazTkep8T-%2Byy_JuROtpp98A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

