Remove bytes from migrations
rahulkatragadda opened this issue · 3 comments
rahulkatragadda commented
In the latest Django 1.8 + it is not necessary to pass strings as byte arrays in migrations.
This appears to be a legacy code. And because of this, Django's checks for migrations identifies that migrations need to be created, where in fact nothing has changed.
martinsmid commented
I've hit this issue too. @rahulkatragadda solution works for me, tested also on python 2.
Another option is to generate those migrations under python 3 (or with unicode literals import in models.py under python 2)
Gee19 commented
Thanks 👍