PuzzleTechHub / myus

A public hassle free puzzlehunt hosting tool
https://www.puzzlehuntmy.us/
MIT License
1 stars 9 forks source link

Figure out is_superuser #8

Open TheOriginalSoni opened 4 months ago

TheOriginalSoni commented 4 months ago

is_superuser is a default setting on Myus users inside the database. Is that used anywhere? Should it?

betaveros commented 4 months ago

This is a default Django concept, see e.g. https://docs.djangoproject.com/en/5.0/ref/django-admin/#createsuperuser It allows you to access https://www.puzzlehuntmy.us/admin/ and edit all the models with a nice interface (including models that are hooked up but not editable such as GuessResponse #26 and AdditionalGuessGrant #30). This may not be very useful for everyday operations, of course.