Opened 5 years ago

Closed 5 years ago

#21008 closed Bug (fixed)

MigrationWriter doesn't handle lazy().

Reported by: loic84 Owned by: Tim Graham <timograham@…>
Component: Migrations Version: master
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


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

Change History (3)

comment:1 Changed 5 years ago by loic84

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

comment:2 Changed 5 years ago by Markus Holtermann

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

Your patch works for me on Python 2.7 and 3.3

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

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