After some tests, the problem came from the lack of the file models.py
The __init__ is there and is ok.
If I run without models.py file:
python3 manage.py migrations --empty
python3 manage.py migrate
-> that doesn't take into account my
But if I run the same commands with models.py (even empt
Are you sure you have your django app in your settings.INSTALLED_APPS and
your django app has a migrations folder underneath it with an __init__.py
file?
I'm pretty sure that should be all you need to have in place so you can run
a migration.
Cheers,
Jeremy
On Tuesday, 15 July 2014 22:20:57
Hello everyone,
First post on this mailing list. Big thanks to the community and the core dev
of Django!
I'm using Django 1.7c1 with python 3.2 or 3.4.
I'm splitting lots of my website as Django apps. So my main app is handling
(only) the urls routing, the settings, some tests and that's it.
I
3 matches
Mail list logo