Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Changed 4 years ago by Tim Graham

Has patch: set

comment:2 Changed 4 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 1042764:

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

comment:3 Changed 4 years ago by Tim Graham <timograham@…>

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