Move getMenusForScope to the end of the View class.
Adhering to our principle that we the methods we use for generating our menus can be usually found at the bottom of the View class.
"""
Create a superuser from the command line. Deprecated; use manage.py
createsuperuser instead.
"""
if __name__ == "__main__":
from django.core.management import call_command
call_command("createsuperuser")