Skip to content

Commit

Permalink
Force file form to be logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcooper committed Oct 9, 2024
1 parent d66e518 commit c6d209c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/tomato/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
MEDIA_URL = "/assets/"
MEDIA_ROOT = "/serve/assets"
LOGIN_URL = "/login/"
FILE_FORM_MUST_LOGIN = True
FILE_FORM_UPLOAD_DIR = "_temp_uploads"

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
Expand Down

0 comments on commit c6d209c

Please sign in to comment.