Drop the city and campus model to simplify things a bit
As you can see here https://rex-dri.gitlab.utc.fr/rex-dri/documentation/generated/architecture.svg the backend models architecture is a bit complicated.
To simplify things a bit, we want to:
Drop the city model
Drop the campus model
All these information should be moved back to the
There are also big changes to perform to the frontend.
This will be a big help for #187 (closed)
How to do it?
- Create a migration to add the missing columns to the University model,
- Create a script to transfer the data from the city / campus models in the new columns,
- Update the backend serializers and viewsets,
- Update the frontend.
- Delete the old models.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information