diff --git a/django.example.env b/django.example.env index 7c1fa3ab..65ab371a 100644 --- a/django.example.env +++ b/django.example.env @@ -2,6 +2,5 @@ DJANGO_DATABASE="ishar" DJANGO_HOSTS="isharmud.com www.isharmud.com" DJANGO_MUD_HOME="/home/ishar/ishar-mud" DJANGO_ORIGINS="http://isharmud.com https://www.isharmud.com" -DJANGO_REST_TOKEN="SECRET" DJANGO_SECRET_KEY="SECRET" DJANGO_SETTINGS_MODULE="settings" diff --git a/settings.example.py b/settings.example.py index b8873c61..182e3ffa 100644 --- a/settings.example.py +++ b/settings.example.py @@ -11,8 +11,7 @@ # Build project path(s). BASE_DIR = Path(__file__).resolve().parent -# Django secret key and REST API token for django-ninja. -REST_TOKEN = getenv("DJANGO_REST_TOKEN") or get_random_secret_key() +# Django secret key. SECRET_KEY = getenv("DJANGO_SECRET_KEY", get_random_secret_key()) # Website title.