1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.

This commit is contained in:
Tim Graham
2015-12-10 09:13:05 -05:00
parent b0ad5081d5
commit 10427646b8
3 changed files with 10 additions and 5 deletions

View File

@@ -29,3 +29,8 @@ Bugfixes
* Fixed admin's delete confirmation page's summary counts of related objects
(:ticket:`25883`).
* Added ``from __future__ import unicode_literals`` to the default ``apps.py``
created by ``startapp`` on Python 2 (:ticket:`25909`). Add this line to your
own ``apps.py`` files created using Django 1.9 if you want your migrations
to work on both Python 2 and Python 3.