[damned-lies] Add LOCALE_PATHS setting
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Add LOCALE_PATHS setting
- Date: Sat, 12 Feb 2011 10:11:34 +0000 (UTC)
commit a58519a2e6fce3157c73da280f61091ff7187806
Author: Claude Paroz <claude 2xlibre net>
Date: Sat Feb 12 11:11:24 2011 +0100
Add LOCALE_PATHS setting
.gitignore | 2 +-
settings.py | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 907f594..6e68782 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,4 @@
debug_toolbar
django_openid
locale
-settings.py
+local_settings.py
diff --git a/settings.py b/settings.py
index 78dc931..bca530b 100644
--- a/settings.py
+++ b/settings.py
@@ -53,6 +53,9 @@ SITE_ID = 1
# to load the internationalization machinery.
USE_I18N = True
USE_L10N = True
+LOCALE_PATHS = (
+ os.path.join(PROJECT_PATH, 'locale'),
+)
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]