Changes between Initial Version and Version 1 of Ticket #22436, comment 7


Ignore:
Timestamp:
04/15/2014 12:30:50 PM (17 months ago)
Author:
chriscauley
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22436, comment 7

    initial v1  
    22
    33That's my proposed solution. The only place where `Field.deconstruct()` is used is in migrations. Since schema migrations don't use `upload_to ` it's best to replace it with a dummy function. This is future safe (in the event that the field's upload_to is altered) and doesn't have the __qualname__ issues that Python 2.X introduces.
     4
     5Let me know if this is acceptable and which tests to write and I'll write them and make a pull request.
Back to Top