Changes between Initial Version and Version 1 of Ticket #22436, comment 7
- Timestamp:
- Apr 15, 2014, 12:30:50 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22436, comment 7
initial v1 2 2 3 3 That'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 5 Let me know if this is acceptable and which tests to write and I'll write them and make a pull request.