5
You can use managed = False
in the model’s Meta
class. This way, syncdb won’t create the app’s tables. More information on the documentation.
1
There is a model meta option “managed”, for more info check django documentation:
https://docs.djangoproject.com/en/dev/ref/models/options/#managed
1
Ok, this is not what your asking directly, but please consider using South http://south.aeracode.org
You can decided which apps to include which version of the model to migrate etc. Sounds like you need a solution here.
- [Django]-How do I send channels 2.x group message from django-celery 3 task?
- [Django]-Django ALLOWED_HOSTS not working
Source:stackexchange.com