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

View file

@ -10,7 +10,7 @@ def create_default_user(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
from passbook.core.models import User from passbook.core.models import User
pbadmin = User.objects.create( 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.set_password("pbadmin") # nosec
pbadmin.is_superuser = True pbadmin.is_superuser = True