Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-20 Thread VeeraNagaRaja Sankar
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
intisank...@gmail.com 
https://about.me/veeranagarajasankar


On Wed, Mar 20, 2019 at 5:56 PM Nasim TKP  wrote:

> What is this will you explain in detail please
>
> On Wed, 20 Mar 2019, 2:50 pm omar ahmed,  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
>>> intis...@gmail.com
>>>
>>>
>>> On Tue, Mar 19, 2019 at 6:28 PM omar ahmed  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  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 django-users...@googlegroups.com.
>> To post to this group, send email to django...@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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
>> 
>> .
>> 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 django-users...@googlegroups.com.
 To post to this group, send email to django...@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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com
 
 .
 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/5598e6c4-e2fe-4e1d-bd4f-31cc7e18e1e2%40googlegroups.com
>> 
>> .
>> 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/CAAVzVZXPFPjojKUNYybzx-wqLRznBbA-iqZsz3wuyt0cwFGjuA%40mail.gmail.com
> 
> .
> 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 

Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-20 Thread Nasim TKP
What is this will you explain in detail please

On Wed, 20 Mar 2019, 2:50 pm omar ahmed,  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
>> intis...@gmail.com
>>
>>
>> On Tue, Mar 19, 2019 at 6:28 PM omar ahmed  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  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 django-users...@googlegroups.com.
> To post to this group, send email to django...@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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
> 
> .
> 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 django-users...@googlegroups.com.
>>> To post to this group, send email to django...@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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com
>>> 
>>> .
>>> 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/5598e6c4-e2fe-4e1d-bd4f-31cc7e18e1e2%40googlegroups.com
> 
> .
> 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/CAAVzVZXPFPjojKUNYybzx-wqLRznBbA-iqZsz3wuyt0cwFGjuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-20 Thread omar ahmed
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
> intis...@gmail.com 
>
>
> On Tue, Mar 19, 2019 at 6:28 PM omar ahmed  > 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  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 django-users...@googlegroups.com.
 To post to this group, send email to django...@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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
  
 
 .
 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com
>>  
>> 
>> .
>> 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/5598e6c4-e2fe-4e1d-bd4f-31cc7e18e1e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-19 Thread VeeraNagaRaja Sankar
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
intisank...@gmail.com


On Tue, Mar 19, 2019 at 6:28 PM omar ahmed  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  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 django-users...@googlegroups.com.
>>> To post to this group, send email to django...@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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
>>> 
>>> .
>>> 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 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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com
> 
> .
> 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/CAJFTHQbMDkogPrN9zfyKsE66bB9LGknY6_hVvPY6cVw-tatmOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-19 Thread omar ahmed
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  > 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
>>  
>> 
>> .
>> 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 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/9dff6db3-2cb9-4d32-b13c-cb5562c645cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-19 Thread Jani Tiainen
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  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 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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com
> 
> .
> 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 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/CAHn91odgj6g5%3DumpXDEih8PfvQHt%3DJ3bgK-JYSAS51fDg-aW8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How To Use PostgreSQL with your Django on Ubuntu

2019-03-19 Thread omar ahmed
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 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/3e795828-7560-4ffb-a7b2-f7a55d8db00d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.