have the sql for a django migration automatically be in the migration
9 views
Skip to first unread message
Alec Brunelle
unread,
Sep 9, 2015, 4:04:23 PM9/9/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
`python manage.py makemigrations --sql` would then have as a string in your migrations the sql that is actually runs. I know you can do this with `python manage.py sqlmigrate appname migrationnumber` but then you have to remember to copy and paste every time. How useful would this feature be for people?