Skip to content

Commit

Permalink
update installation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Jun 26, 2016
1 parent 3f36f59 commit fd785b1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,17 @@ To get your instance running in production you need to create your local setting
# https://docs.djangoproject.com/en/1.9/ref/settings/#std:setting-EMAIL_HOST
EMAIL_HOST = 'localhost'
# how many times a user is allowed to call the app upload route per day
REST_FRAMEWORK['DEFAULT_THROTTLE_RATES'] = {
'app_upload_or_delete': '20/day'
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'djangorestframework_camel_case.render.CamelCaseJSONRenderer',
),
'DEFAULT_PARSER_CLASSES': (
'djangorestframework_camel_case.parser.CamelCaseJSONParser',
),
'DEFAULT_THROTTLE_RATES': {
# how many times a user is allowed to call the app upload route per day
'app_upload': '50/day'
}
}
# Only set this parameter if you want to use a different tmp directory for app downloads
Expand Down

0 comments on commit fd785b1

Please sign in to comment.