Changes between Initial Version and Version 1 of Ticket #23226, comment 4
- Timestamp:
- Aug 5, 2014, 4:56:13 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23226, comment 4
initial v1 3 3 Can you confirm your migration was generated on Python 2 from a model file without the `from __future__ import unicode_literals` import? 4 4 5 I'm unsure if we should document this as a caveat of make sure that all string defined at the model module level on Python2 are always converted to `unicode`.5 I'm unsure if we should document this as a caveat of make sure that all string defined at the model module level are always converted to `six.text_type`. That includes some of the [https://docs.djangoproject.com/en/dev/ref/models/fields/ model field options] and many of the [https://docs.djangoproject.com/en/dev/ref/models/options/ Model Meta options]. 6 6