~ubuntu-accomplishments-web-editor-drivers/ubuntu-accomplishments-web/trunk

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Janos Gyerik
  • Date: 2012-12-14 23:20:41 UTC
  • mfrom: (233.1.14 cleaning)
  • Revision ID: janos@axiom-20121214232041-dutstr2s05outaps
ubuntu_website renamed to ubuntu_theme and cleaned up

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import os
4
4
DIRNAME = os.path.abspath(os.path.dirname(__file__))
5
5
 
6
 
import ubuntu_website
7
 
 
8
6
DEBUG = True
9
7
TEMPLATE_DEBUG = DEBUG
10
8
 
77
75
    # Put strings here, like "/home/html/static" or "C:/www/django/static".
78
76
    # Always use forward slashes, even on Windows.
79
77
    # Don't forget to use absolute paths, not relative paths.
80
 
    '/'.join([DIRNAME, 'ubuntu_website/media']),
 
78
    '/'.join([DIRNAME, 'ubuntu_theme/static']),
81
79
    ('images/trophies/ubuntu-community', '/'.join([DIRNAME, 'accomplishments/ubuntu-community-accomplishments/accomplishments/ubuntu-community/trophyimages'])),
82
80
    ('images/trophies/ubuntu-desktop', '/'.join([DIRNAME, 'accomplishments/ubuntu-desktop-accomplishments/accomplishments/ubuntu-desktop/trophyimages'])),
83
81
)
118
116
    "django.core.context_processors.media",
119
117
    "django.core.context_processors.static",
120
118
    "django.core.context_processors.request",
121
 
    "ubuntu_website.media_processor",
122
 
    "ubuntu_website.popup_check",
123
119
)
124
120
TEMPLATE_DIRS = (
125
121
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
126
122
    # Always use forward slashes, even on Windows.
127
123
    # Don't forget to use absolute paths, not relative paths.
128
 
    ubuntu_website.TEMPLATE_DIR,
129
 
    os.path.join(DIRNAME, 'templates'),
 
124
    os.path.join(DIRNAME, 'ubuntu_theme', 'templates'),
130
125
)
131
126
 
132
127
INSTALLED_APPS = (