1 2 3 4 5 6 7 | # add django_snippets to INSTALLED_APPS
# usage example
# ./manage.py altersql myapp
# ./manage.py alterdb
# ./manage.py alterdb --app=myapp
# ./manage.py alterdb --showsql
|
More like this
- Creating MySQL Alter table commands for Foreign Keys by vidyanand 4 years, 11 months ago
- Simple solution for model schema evolution / database changelog by kahless 5 years, 11 months ago
- dumpdata/loaddata with MySQL and ForeignKeys, as django command by brondsem 4 years, 1 month ago
- Allow filtering and ordering by counts of related query results by exogen 6 years, 1 month ago
- Management command decorator by eternicode 2 years, 8 months ago
Comments
So where is this django_snippets module?
#
It's linked in the description. That said, this is a pretty weak snippet.
#