Add a user settings form

This commit is contained in:
Raphael Michel
2015-05-22 09:15:38 +02:00
parent 2d83049181
commit 10373838f1
6 changed files with 154 additions and 9 deletions

View File

@@ -13,10 +13,8 @@ from pretix.base.models import *
if Organizer.objects.exists():
print("There already is data in your DB!")
sys.exit(0)
user = User.objects.create_global_user(
user = User.objects.get(
identifier='admin@localhost',
email='admin@localhost',
password='admin'
)
organizer = Organizer.objects.create(
name='MRMCD e.V', slug='mrmcd'