Skip to content

Commit a6b004b

Browse files
committed
Move locale directory up for Django 1.5
1 parent bcf6956 commit a6b004b

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

docs/development.rst

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ If you want to run tests for modules, classes or methods your can run them like
3434
python manage.py test froide.foirequest.tests.test_admin.AdminActionTest.test_approve --settings=froide.settings_test
3535

3636

37+
38+
Build translation
39+
-----------------
40+
41+
python manage.py makemessages -a -i docs --settings=your_settings
42+
43+
3744
Build docs
3845
----------
3946

froide/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
9292

9393
LOCALE_PATHS = (
94-
os.path.join(PROJECT_ROOT, "locale"),
94+
os.path.join(PROJECT_ROOT, '..', "locale"),
9595
)
9696

9797
GEOIP_PATH = None

0 commit comments

Comments
 (0)