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': os.path.join(BASE_DIR, 'dbsqlite3'),
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'postgres',
        'USER': 'postgres',
       'PASSWORD': (secret),
       'HOST': 'localhost',
    }

} 

So how can I check wether it is using the right database, where are my data?

I cannot find any tables in postgres. Please help me and tell me what I am 
getting wrong here.

<https://lh5.googleusercontent.com/-jLa5ggZRHyY/VQK7ucOtyiI/AAAAAAAAEII/0uPI0qcSqUU/s1600/Bildschirmfoto%2B2015-03-13%2Bum%2B11.26.39.png>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/904eed7d-b6b1-4726-8f81-1b1723bed47a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to