Skip to content

Commit

Permalink
feat: Set DELETE_FILES_AFTER_DAYS, closes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Dec 5, 2023
1 parent ac2b85f commit 535a3a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cove_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
}
VALIDATION_ERROR_LOCATIONS_LENGTH = settings.VALIDATION_ERROR_LOCATIONS_LENGTH
VALIDATION_ERROR_LOCATIONS_SAMPLE = settings.VALIDATION_ERROR_LOCATIONS_SAMPLE
DELETE_FILES_AFTER_DAYS = int(os.getenv("DELETE_FILES_AFTER_DAYS", 90))

# We can't take MEDIA_ROOT and MEDIA_URL from cove settings,
# ... otherwise the files appear under the BASE_DIR that is the Cove library install.
Expand Down

0 comments on commit 535a3a7

Please sign in to comment.