Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 44047d4cab
Fetching contributors…

Cannot retrieve contributors at this time

executable file 9 lines (9 sloc) 0.244 kb
#!/usr/bin/env python
from wsgi import *
from django.contrib.auth.models import User
u, created = User.objects.get_or_create(username='admin')
if created:
u.set_password('123456')
u.is_superuser = True
u.is_staff = True
u.save()
Jump to Line
Something went wrong with that request. Please try again.