Commit 394a2bdc authored by BERJON Matthieu's avatar BERJON Matthieu

I added a superuser for django

I added a superuser for development purposes. The password should be
changed before going to production.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent aa429676
......@@ -65,6 +65,11 @@ LoadDb () {
# from that point
python3 manage.py makemigrations
python3 manage.py migrate --fake
# Create a super user
python3 manage.py shell -c shell -c \
"from django.contrib.auth.models import User;\
User.objects.create_superuser('admin@allgo.inria.fr', 'admin@allgo.inria.fr', 'y7gu3xaKdwoVFnKxTVbz')"
}
......
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 to comment