[Fixed]-Automatically registering Django model in a separate table

1đź‘Ť

âś…

You can probably create your own factory that would do some introspecting and create a “like model” derived from your original, but down the road you will most likely need to handle those “like models” differently from one another depending on what you do with their respective underlying model. Plus, not having a defined model in models.py can lead to confusion and make the code harder to maintain.

Leave a comment