ENT-854 Add django-fernet-fields to requirements.

This commit is contained in:
Douglas Hall
2018-01-25 11:01:44 -05:00
parent 7c2826b8e8
commit d158da2792
3 changed files with 9 additions and 0 deletions

View File

@@ -1096,6 +1096,9 @@ COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get(
COMPLETION_VIDEO_COMPLETE_PERCENTAGE,
)
############### Settings for django-fernet-fields ##################
FERNET_KEYS = AUTH_TOKENS.get('FERNET_KEYS', FERNET_KEYS)
############################### Plugin Settings ###############################
from openedx.core.djangoapps.plugins import plugin_settings, constants as plugin_constants

View File

@@ -3467,6 +3467,11 @@ COMPLETION_VIDEO_COMPLETE_PERCENTAGE = 0.95
RATELIMIT_ENABLE = True
RATELIMIT_RATE = '120/m'
############### Settings for django-fernet-fields ##################
FERNET_KEYS = [
'DUMMY KEY CHANGE BEFORE GOING TO PRODUCTION',
]
############## Plugin Django Apps #########################
from openedx.core.djangoapps.plugins import plugin_apps, plugin_settings, constants as plugin_constants

View File

@@ -22,6 +22,7 @@ markey==0.8 # From django-babel-underscore
django-birdcage==1.0.0
django-config-models==0.1.8
django-countries==4.6.1
django-fernet-fields==0.5
django-filter==1.0.4
django-ipware==1.1.0
django-model-utils==3.0.0