Y
Y
Yuri2013-12-04 19:37:00
Django
Yuri, 2013-12-04 19:37:00

Why can't syncdb and south see some apps?

There is a project and there are about 15 self-written apps in it, after execution manage.py synсdb, not all apps are visible in the list.
manage.py migrate --list- also does not show all the apps, but if you force it to run manage.py migrate app_name --list, you can see what migrations are, and you can force the migrations to run with ./manage.py migrate app_name
How to restore app visibility in ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igorzp, 2013-12-04
@Igorzp

Missing from installed_apps ?

R
Raido, 2013-12-08
@Raido

Have you initiated the database schema? me about this:

python manage.py schemamigration app_name1 --initial
python manage.py schemamigration app_name2 --initial
...

python manage.py migrate app_name1
python manage.py migrate app_name2 
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question