Commit d8606201 by Nótai István

commands: add profile for admin

parent 86e3d16c
Pipeline #620 passed with stage
in 0 seconds
...@@ -81,6 +81,7 @@ class Command(BaseCommand): ...@@ -81,6 +81,7 @@ class Command(BaseCommand):
is_superuser=True, is_staff=True) is_superuser=True, is_staff=True)
admin.set_password(options['admin_pass']) admin.set_password(options['admin_pass'])
self.create(Profile, 'user', user=admin)
self.create(DataStore, 'path', path='/datastore', name='default', self.create(DataStore, 'path', path='/datastore', name='default',
hostname=options['datastore_queue']) hostname=options['datastore_queue'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment