Changes between Initial Version and Version 1 of Ticket #23226, comment 4


Ignore:
Timestamp:
08/05/14 21:56:13 (8 years ago)
Author:
Simon Charette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23226, comment 4

    initial v1  
    33Can you confirm your migration was generated on Python 2 from a model file without the `from __future__ import unicode_literals` import?
    44
    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`.
     5I'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].
    66
Back to Top