admin: fix PropertyMapping widget not rendering properly

This commit is contained in:
Jens Langhammer 2020-05-24 16:58:01 +02:00
parent 7067d1f236
commit c62794c738
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ def create_default_user(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
from passbook.core.models import User
pbadmin = User.objects.create(
username="pbadmin", email="root@localhost", # password="pbadmin"
username="pbadmin", email="root@localhost", name="passbook Default Admin"
)
pbadmin.set_password("pbadmin") # nosec
pbadmin.is_superuser = True