csua-backend
csua-backend copied to clipboard
Officer creation form
Currently, creating an officer involves 3 different admin views, and requires that a CSUA user be present in the database, which is extremely inconvenient.
The desire is that there would be a single form to add an officer to the website. It would
- Create the corresponding
django.auth.User
object, if it doesn't exist - Create the corresponding
apps.db_data.Person
- Support downloading the image url rather then having to directly upload to the form.
- Create the corresponding
apps.db_data.Officer
The form would be in the db_data
admin, most likely
https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#adding-views-to-admin-sites