Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pbansal
Test-Docker
Commits
93ca5d54
Commit
93ca5d54
authored
Jun 05, 2020
by
B13nch3n
Browse files
Switched to registered user
parent
dbd3e4d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Docker/cathapi/entrypoint.sh
View file @
93ca5d54
...
...
@@ -96,9 +96,9 @@ python3 manage.py shell << END
from django.contrib.auth.models import User
from rest_framework.authtoken.models import Token
try:
User.objects.get(username='sib
_ws5
')
User.objects.get(username='sib
days2020@theb-si.de
')
except User.DoesNotExist:
user = User.objects.create_user('sib
_ws5
', password='s1bday5ZOZO')
user = User.objects.create_user('sib
days2020@theb-si.de
', password='s1bday5ZOZO')
user.is_superuser=False
user.is_staff=False
user.save()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment