Use params['logic'] instead of self._logic
This makes it possible to specify a different logic for each view.
Patch by: Sverre Rabbelier
"""
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")