Python 2 and 3 treat strings differently; in 2 they are bytes and in 3 they are unicode objects. The Theme fields' attributes were encoded as bytes in the initial migration (0001) but should be unicode values, leading to a missing migration whenever the code is ran on Python 3. This changeset "alters" all the fields to set them to have unicode attributes rather than bytes. For more context, we've more or less followed the steps outlined here: https://docs.djangoproject.com/en/1.11/topics/migrations/#supporting-python-2-and-3 |
||
|---|---|---|
| .. | ||
| 0001_initial.py | ||
| 0002_add_related_modal.py | ||
| 0003_add_logo_color.py | ||
| 0004_rename_title_color.py | ||
| 0005_add_recent_actions_visible.py | ||
| 0006_bytes_to_str.py | ||
| __init__.py | ||