Browse Source

Add script to create default admin user (dev)

pull/6/head
Marcio Mazza 10 years ago
parent
commit
c139be1958
  1. 2
      scripts/create_admin_user.sh

2
scripts/create_admin_user.sh

@ -0,0 +1,2 @@
#!/bin/bash
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'admin')" | python manage.py shell --plain
Loading…
Cancel
Save