csua-backend icon indicating copy to clipboard operation
csua-backend copied to clipboard

Officer creation form

Open robertquitt opened this issue 5 years ago • 3 comments

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

robertquitt avatar Dec 04 '19 00:12 robertquitt