Changes between Initial Version and Version 1 of Ticket #26488, comment 8


Ignore:
Timestamp:
Aug 10, 2017, 10:00:56 PM (7 years ago)
Author:
Christopher Neugebauer

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26488, comment 8

    initial v1  
    11So 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 :)**
    24
    351. Create a model `SubModel`, it must derive from `models.Model`.
Back to Top