team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00332
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 520: migrate many entries from settings.py to settings.ini
------------------------------------------------------------
revno: 520
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Mon 2013-01-07 11:54:21 +0100
message:
migrate many entries from settings.py to settings.ini
modified:
src/alfanous-django/settings.ini.proto
src/alfanous-django/settings.py
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous-django/settings.ini.proto'
--- src/alfanous-django/settings.ini.proto 2013-01-06 23:06:49 +0000
+++ src/alfanous-django/settings.ini.proto 2013-01-07 10:54:21 +0000
@@ -23,4 +23,6 @@
MEDIA_ROOT: ./media/
STATIC_URL: /static/
STATIC_ROOT: /QSE/root/alfanous_git/alfanous-code/src/alfanous-django/static/
+TEMPLATE_DIR1: ./templates/
+STATIC_DIR1: ./wui/static/
=== modified file 'src/alfanous-django/settings.py'
--- src/alfanous-django/settings.py 2013-01-06 23:06:49 +0000
+++ src/alfanous-django/settings.py 2013-01-07 10:54:21 +0000
@@ -35,8 +35,8 @@
MY_MEDIA_ROOT = config.get( 'paths', 'MEDIA_ROOT' )
MY_STATIC_URL = config.get( 'paths', 'STATIC_URL' )
MY_STATIC_ROOT = config.get('paths', 'STATIC_ROOT')
-
-
+MY_TEMPLATE_DIR1 = config.get( 'paths', 'TEMPLATE_DIR1' )
+MY_STATIC_DIR1 = config.get( 'paths', 'STATIC_DIR1' )
########################################
# Static and Public settings #
@@ -117,7 +117,7 @@
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
-'./wui/static',
+MY_STATIC_DIR1,
)
# List of finder classes that know how to find static files in
@@ -153,7 +153,7 @@
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
- './templates/',
+ MY_TEMPLATE_DIR1,
)
INSTALLED_APPS = (