Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Update plugins config files
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Fernandes <[email protected]>
  • Loading branch information
msfernandes committed Dec 6, 2017
1 parent f5032fc commit 10d9cb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion misc/etc/colab/plugins.d/edemocracia.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
middlewares = ['colab_edemocracia.middlewares.ForceLangMiddleware']

dependencies = ['djangobower', 'compressor', 'easy_thumbnails',
'image_cropping', 'widget_tweaks', 'macros']
'image_cropping', 'widget_tweaks', 'macros', 'rest_framework']

context_processors = ['colab_edemocracia.processors.recaptcha_site_key',
'colab_edemocracia.processors.home_customization']
Expand Down Expand Up @@ -48,4 +48,12 @@
'RECAPTCHA_PRIVATE_KEY': config('RECAPTCHA_PRIVATE_KEY', default=''),
'SITE_NAME': config('SITE_NAME', default='Nome do site'),
'SITE_LOGO': config('SITE_LOGO', default='https://exemple.com/img.png'),
'COMPRESS_ENABLED': True,
'COMPRESS_OFFLINE': True,
'REST_FRAMEWORK': {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
),
'PAGE_SIZE': 20
},
}
2 changes: 1 addition & 1 deletion misc/etc/colab/plugins.d/tos.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
urls = {
'include': 'colab_mkdocs_tos.urls',
'prefix': '^sobre/',
}
}

0 comments on commit 10d9cb9

Please sign in to comment.