Enabling admin console - Appsembler

Enabling admin console

In server-vars.yml, add:

EDXAPP_FEATURES:

   ENABLE_SYSADMIN_DASHBOARD: true

User must have superuser status. This can be updated on the server by opening the Django shell with:

sudo -u www-data /edx/bin/python.edxapp ./manage.py lms --settings aws shell

then running (e.g. for user “staff”):

from django.contrib.auth.models import User
me = User.objects.get(username="staff")
me.is_superuser = True
me.is_staff = True
me.save()

The admin console is accessible through:

http://www.example.com/admin