зеркало из https://github.com/nextcloud/appstore.git
update installation docs
This commit is contained in:
Родитель
3f36f59067
Коммит
fd785b1afc
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче