Fixes and cleanup

This commit is contained in:
Martin Pépin 2017-02-03 17:07:50 +01:00
parent 18b186929c
commit ba88b94320
3 changed files with 98 additions and 70 deletions

View file

@ -63,6 +63,8 @@ class Command(MyBaseCommand):
last_name='user',
email='root@localhost')
root.set_password('root')
root.is_staff = True
root.is_superuser = True
root.profile.is_cof = True
root.profile.is_buro = True
root.profile.save()