Changes between Initial Version and Version 1 of Ticket #25917, comment 2
- Timestamp:
- Dec 11, 2015, 9:29:21 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25917, comment 2
initial v1 3 3 4 4 As for the question about `default`, that's a good point. I haven't tried and it could make the reverse operation "work" in the sense that Django would be able to get back to a valid state but there's no guarantee that your data would be preserved (any non-default values for that column would be gone). 5 6 **edit**: 7 I just tried and if your field has a `default`, then the reverse `RemoveField` uses that to populate the database (which means it's possible to have a non-nullable field in that case)