Skip to content

Commit

Permalink
Update interal_ips to list of ip's
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed May 28, 2024
1 parent 4775b8d commit 98a375d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django_evaluation/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def custom_show_toolbar(request):
# The WSGI Application to use for runserver
WSGI_APPLICATION = "django_evaluation.wsgi.application"

INTERNAL_IPS = "127.0.0.1"
INTERNAL_IPS = ["127.0.0.1"]

SYSTEM_EMAIL_PREFIX = "[django_evaluation]"

Expand Down
4 changes: 2 additions & 2 deletions init_django.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

export PATH=/opt/condaenv:$PATH
export PATH=/opt/condaenv/bin:$PATH

python manage.py makemigrations base
python manage.py migrate --fake-initial --noinput
python manage.py migrate --fake contenttypes
/python manage.py collectstatic --noinput
python manage.py collectstatic --noinput
python manage.py createsuperuser \
--noinput \
--username freva-admin \
Expand Down

0 comments on commit 98a375d

Please sign in to comment.