Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 247 Bytes
#!/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('password')
u.is_superuser = True
u.is_staff = True
u.save()
Something went wrong with that request. Please try again.