Browse Source

HOT-FIX: set default uploaded file permissions to 644

pull/2468/head
Edward Ribeiro 6 years ago
parent
commit
59bc7d75b0
  1. 2
      sapl/settings.py

2
sapl/settings.py

@ -278,6 +278,8 @@ STATICFILES_FINDERS = (
MEDIA_ROOT = PROJECT_DIR.child("media") MEDIA_ROOT = PROJECT_DIR.child("media")
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
FILE_UPLOAD_PERMISSIONS = 0o644
DAB_FIELD_RENDERER = \ DAB_FIELD_RENDERER = \
'django_admin_bootstrapped.renderers.BootstrapFieldRenderer' 'django_admin_bootstrapped.renderers.BootstrapFieldRenderer'
CRISPY_TEMPLATE_PACK = 'bootstrap3' CRISPY_TEMPLATE_PACK = 'bootstrap3'

Loading…
Cancel
Save