Skip to content

Commit

Permalink
Merge pull request #369 from ropable/master
Browse files Browse the repository at this point in the history
Added LOGIN_URL and LOGIN_REDIRECT_URL to settings.
  • Loading branch information
ropable authored Feb 28, 2024
2 parents d6d5f7a + da2d74f commit aeeb38b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions itassets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
WSGI_APPLICATION = "itassets.wsgi.application"
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
MAPPROXY_URL = env("MAPPROXY_URL", "")
LOGIN_URL = "/admin/login/"
LOGIN_REDIRECT_URL = "/"

# Assume Azure blob storage is used for media uploads, unless explicitly set as local storage.
LOCAL_MEDIA_STORAGE = env("LOCAL_MEDIA_STORAGE", False)
Expand Down

0 comments on commit aeeb38b

Please sign in to comment.