forked from xuming/micolog
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.py
41 lines (33 loc) · 1.02 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8 -*-
# Django settings for the example project.
"""
Settings For Micolog
"""
import os
#from django.conf import settings as djangoSetting
#os.environ['DJANGO_SETTINGS_MODULE'] = 'micolog.settings'
##djangoSetting.configure(
## DEBUG=True,
## TEMPLATE_DEBUG=False,
## LOCALE_PATHS = 'locale',
## USE_I18N = False,
## ROOT_PATH=os.path.dirname(__file__),
## ENABLE_MEMCACHE=True,
## TEMPLATE_LOADERS = ('django.template.loaders.filesystem.load_template_source',
## 'micolog.zip_loader.load_template_source')
##
##
##)
DEBUG=False
TEMPLATE_DEBUG=False
LOCALE_PATHS = 'locale'
USE_I18N = True
ROOT_PATH= os.path.dirname(__file__)
ENABLE_MEMCACHE=True
LANGUAGE_CODE = 'zh-CN'
#TEMPLATE_LOADERS = ('django.template.loaders.filesystem.load_template_source',
# 'micolog.zip_loader.load_template_source')
ENABLE_MEMCACHE=True
NOTIFICATION_SITES = [
('http', 'www.google.com', 'webmasters/sitemaps/ping', {}, '', 'sitemap')
]