1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

[Issue #47] Enable signup on seahub.

This commit is contained in:
zhengxie
2012-12-19 14:11:32 +08:00
parent d2b3668a64
commit e94670085b
4 changed files with 10 additions and 3 deletions

View File

@@ -6,7 +6,8 @@ and returns a dictionary to add to the context.
These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
RequestContext.
"""
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE
from settings import SEAFILE_VERSION, SITE_TITLE, SITE_NAME, SITE_BASE, \
ENABLE_SIGNUP
try:
from settings import BUSINESS_MODE
except ImportError:
@@ -34,5 +35,6 @@ def base(request):
'org': org,
'base_template': base_template,
'site_name': SITE_NAME,
'enable_signup': ENABLE_SIGNUP,
}