loefsys.settings.storage module
Module containing the configuration for media storage.
- class loefsys.settings.storage.StorageSettings
Bases:
TemplateSettings,BaseSettingsClass containing the configuration for media storage.
- AWS_STORAGE_BUCKET_NAME
property to make environment variable based settings simpler.
- Parameters:
default (Any) – default value If it’s a string, it will be passed to the
castfunction When used as a decorator, this is the method.key (str) – Override environment variable name (Defaults to class attribute name)
prefix (str) – Prefix to
keywhen looking upos.environcast (func) – Function to cast
strvalues.
- STATICFILES_FINDERS = ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
- MEDIA_ROOT()