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/CAJFTHQbMDkogPrN9zfyKsE66bB9LGknY6_hVvPY6cVw-tatmOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to