# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'pl'
-#import locale
-#locale.setlocale(locale.LC_ALL, '')
+# import locale
+# locale.setlocale(locale.LC_ALL, '')
SITE_ID = 1
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
- "redakcja.context_processors.settings", # this is instead of media
+ "redakcja.context_processors.settings", # this is instead of media
'django.core.context_processors.csrf',
"django.core.context_processors.request",
)
IMAGE_DIR = 'images/'
-
-import djcelery
-djcelery.setup_loader()
+try:
+ import djcelery
+ djcelery.setup_loader()
+except ImportError:
+ pass
BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
BROKER_HOST = "localhost"
from redakcja.settings.compress import *
except ImportError:
pass
-