Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-14 Thread Sabine Maennel
Thanks everybody, I will try to change the database and user name. I found the data. I had two installations of postgres. I appreciate your help in this Sabine Am Freitag, 13. März 2015 14:30:49 UTC+1 schrieb John Fabiani: > > Have you

Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread john
Have you issued the command to create the tables. python manage.py makemigrations python manage.py migrate The above will create what ever tables you have in the models. The actual data that something else? Johnf On 03/13/2015 03:29 AM, Sabine Maennel wrote: I just switched from Sqlite to

Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread john
Or just keep the database and create a new role with admin (I assume you need that) priv. Johnf On 03/13/2015 04:31 AM, Matthias Müller wrote: I do agree to John. Check out the commands createuser --help and createdb --help Matthias 2015-03-13 12:09 GMT+01:00 John

Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread Matthias Müller
I do agree to John. Check out the commands createuser --help and createdb --help Matthias 2015-03-13 12:09 GMT+01:00 John : > Sabine, > > It is a really Bad Idea to use the postgres user and database for your > data. Create a new user and database and use

Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread John
Sabine, It is a really Bad Idea to use the postgres user and database for your data. Create a new user and database and use that instead. John On 13/03/15 10:29, Sabine Maennel wrote: > I just switched from Sqlite to postgres. Everything is working except > that when I open PgAdmin III all

Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread Sabine Maennel
I just switched from Sqlite to postgres. Everything is working except that when I open PgAdmin III all tables are still empty. I really wonder where are my data? In my settings file I have: DATABASES = { 'default': { #'ENGINE': 'django.db.backends.sqlite3', #'NAME':