diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-20 16:20:48 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-20 16:22:10 +0800 |
commit | 81ee68feef68804dce99c37c79f91e392bea800d (patch) | |
tree | f9abd36b9386b3ddfd9ec9f6c6ea37950271eb70 /django_skaschool/settings.py | |
parent | 78c799c182d0a634a2286b3992c747cd003b41ca (diff) | |
download | django-skaschool-81ee68feef68804dce99c37c79f91e392bea800d.tar.bz2 |
* updated django_skaschool/settings.py
o SITE_ID, LANGUAGE_CODE, TIME_ZONE
o INSTALLED_APPS
* updated top-level urls.py
Diffstat (limited to 'django_skaschool/settings.py')
-rw-r--r-- | django_skaschool/settings.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py index b75ed25..79d0299 100644 --- a/django_skaschool/settings.py +++ b/django_skaschool/settings.py @@ -47,8 +47,9 @@ THIRD_PARTY_APPS = ( ) # LOCAL_APPS LOCAL_APPS = ( + 'account', 'page', - 'demo', + 'notice', ) # INSTALLED_APPS INSTALLED_APPS = DEFAULT_APPS + THIRD_PARTY_APPS + LOCAL_APPS @@ -80,7 +81,8 @@ DATABASES = { # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/ -LANGUAGE_CODE = 'en-us' +#LANGUAGE_CODE = 'en-us' +LANGUAGE_CODE = 'zh-cn' #TIME_ZONE = 'UTC' TIME_ZONE = 'Asia/Shanghai' @@ -91,6 +93,9 @@ USE_L10N = True USE_TZ = True +# contrib.sites +SITE_ID = 1 + ## template directories TEMPLATE_DIRS = ( # Don't forget to use absolute paths, not relative paths. |