-
Notifications
You must be signed in to change notification settings - Fork 5
Becoming Admin on a development server
liefeld edited this page Apr 28, 2023
·
1 revision
Some aspects of the AmpliconRepository server require user accounts that have elevated privileges. This might be to edit text on some pages, or to be able to set the 'featured' status of projects. We use the built in Django authentication groups of superusers and staff for this purpose. Superusers can designate other users as 'staff' from the Django admin pages. Staff have access to the in-application admin menu.
- Creating a superuser account. https://www.geeksforgeeks.org/how-to-create-superuser-in-django/.
python manage.py createsuperuser
- Make a user 'staff' so that they can set featured projects etc. As a superuser, go to https://dev.ampliconrepository.org/admin/ ad click the 'is staff' checkbox next to a user name.