Changes between Initial Version and Version 1 of Ticket #26488, comment 8
- Timestamp:
- Aug 10, 2017, 10:00:56 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26488, comment 8
initial v1 1 1 So here's something fun. Here's how you *can* create a model with a base class whose name you can change, and Migrations will be happy. 2 3 **DO NOT ACTUALLY DO THIS IN PROD :)** 2 4 3 5 1. Create a model `SubModel`, it must derive from `models.Model`.