2006-05-02 09:31:56 +08:00
|
|
|
"""
|
2008-06-08 13:31:16 +08:00
|
|
|
Create a superuser from the command line. Deprecated; use manage.py
|
|
|
|
createsuperuser instead.
|
2006-05-02 09:31:56 +08:00
|
|
|
"""
|
|
|
|
|
2006-05-05 11:08:29 +08:00
|
|
|
if __name__ == "__main__":
|
2008-06-08 13:31:16 +08:00
|
|
|
from django.core.management import call_command
|
2008-06-08 16:45:14 +08:00
|
|
|
call_command("createsuperuser")
|