Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#25909 closed Cleanup/optimization (fixed)

Add unicode_literals import to apps.py generated by startapp

Reported by: Tim Graham Owned by: Tim Graham
Component: Core (Other) Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Similar to what's done for models.py (#24950), the import will help migrations generated using Python 2 to work on Python 3 (#25906).

Change History (3)

comment:1 by Tim Graham, 8 years ago

Has patch: set

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 1042764:

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

comment:3 by Tim Graham <timograham@…>, 8 years ago

In 3c69d523:

[1.9.x] Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.

Backport of 10427646b887586bf89dacb3b5208b3ad2d17308 from master

Note: See TracTickets for help on using tickets.
Back to Top