Opened 11 years ago

Closed 11 years ago

#21008 closed Bug (fixed)

MigrationWriter doesn't handle lazy().

Reported by: loic84 Owned by: Tim Graham <timograham@…>
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: info@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

field = Field(verbose_name=_('something')) is sufficient to trip the makemigrations command.

Change History (3)

comment:1 by loic84, 11 years ago

Has patch: set
Last edited 11 years ago by loic84 (previous) (diff)

comment:2 by Markus Holtermann, 11 years ago

Cc: info@… added
Triage Stage: UnreviewedReady for checkin

Your patch works for me on Python 2.7 and 3.3

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

Owner: set to Tim Graham <timograham@…>
Resolution: fixed
Status: newclosed

In ff9e1161984f43f34f9ecff5ee80959016447cf3:

Fixed #21008 -- Made MigrationWriter handle Promise objects.

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