diff options
author | Florent Pigout <florent.pigout@gmail.com> | 2012-03-04 04:39:40 (GMT) |
---|---|---|
committer | Florent Pigout <florent.pigout@gmail.com> | 2012-03-04 04:39:40 (GMT) |
commit | 51507610442c74ad2523eeed7197c31451a8978c (patch) | |
tree | 7775a8f018efceea545ff987aa5b5963003224ce | |
parent | c3f9520b6d13303dd32720e0eb5d224a8f8f1b14 (diff) |
update django settings to load our custom static files
-rw-r--r-- | src/pootle_it/settings.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pootle_it/settings.py b/src/pootle_it/settings.py index 6fe36df..6f22d5d 100644 --- a/src/pootle_it/settings.py +++ b/src/pootle_it/settings.py @@ -39,13 +39,11 @@ MANAGERS = ADMINS # dummy translate function so we can extract text _ = lambda x: x -TITLE = _("Pootle Demo") +TITLE = _("Pootle It") #l10n: Change the language code (en) to your language code, and replace ltr with rtl if you language is written from right to left. -DESCRIPTION = _("""<div dir="ltr" lang="en"> -<h2 class="title">This is a demo installation of Pootle.</h2> -<p class="about">You can also visit the official <a class="external" href="http://pootle.locamotion.org">Pootle server</a>. The server administrator has not provided contact information or a description of this server. If you are the administrator for this server, edit this description in your preference file or in the administration interface.</p> -</div>""") +DESCRIPTION = _(""" +""") # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name @@ -66,7 +64,7 @@ USE_I18N = True # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" -MEDIA_ROOT = data_path('html')+'/' +MEDIA_ROOT = os.path.join('src', 'pootle_it', 'html')+'/' # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). # Examples: "http://media.lawrence.com", "http://example.com/media/" |