-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- Split up ami/main/models.py into ami/main/models/*.py
- Same for serializers
- Same for views
- Same for tests (ami/main/tests.py)
- Move ami/main/api/* to ami/main/
Consider multiple apps vs. single app with multiple model files. Moving model classes to new apps requires making data migrations because you are moving tables. I suggest first splitting into separate model files within the main/ app as suggested above, then moving into new apps. If moving into new apps, the table names can be manually so no data migrations are needed during development.
Step 1: make a list of models in main that should be split into their own files or apps and share that here.
See notes and the beginning of this in #918