mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Add a user settings form
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user