1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

Remove constance from thirdpart

This commit is contained in:
zhengxie
2015-10-13 11:58:47 +08:00
parent b96ee082da
commit d1bd4bd7cf
26 changed files with 1 additions and 1251 deletions

View File

@@ -1,15 +0,0 @@
import constance
def config(request):
"""
Simple context processor that puts the config into every
RequestContext. Just make sure you have a setting like this:
TEMPLATE_CONTEXT_PROCESSORS = (
# ...
'constance.context_processors.config',
)
"""
return {"config": constance.config}