This task is to validate that it works, and to document it as part of CONTRIBUTING.md, as a lot of 'definitions of done' will rely on the admin panel.
- [x] Test that running the management command `promote` against an existing user works
- [x] Document this as a precursor to accessing the admin interface
Definition of done
[x] You are able to access the admin interface after logging in and making yourself superuser
[x] This is documented in CONTRIBUTING.md as the pathway to being able to access the admin interface
Since the django admin user is available only to django 'superusers', and we use GitHub external login for everything, we had to make a separate command (https://github.com/2i2c-org/unnamed-thingity-thing/blob/main/comptest/web/management/commands/promote.py) that can promote an existing user (created via github login) into a superuser.
This task is to validate that it works, and to document it as part of
CONTRIBUTING.md
, as a lot of 'definitions of done' will rely on the admin panel.Definition of done
CONTRIBUTING.md
as the pathway to being able to access the admin interface