~rachidbm/ubuntu-translations-stats/bug-971432

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: David Planella
  • Date: 2012-03-02 07:10:51 UTC
  • Revision ID: david.planella@ubuntu.com-20120302071051-8w7aw9ayk86y3j6r
Properly configured local_settings. The overview page's language table now shows all translated languages (i.e. the table's paginator page size == translated_count)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
SITE_PATH = os.path.dirname(os.path.abspath(__file__))
9
9
DB_PATH = os.path.join(SITE_PATH, SITE_NAME + '.db')
10
10
 
11
 
DEBUG = False
 
11
DEBUG = True
12
12
TEMPLATE_DEBUG = DEBUG
13
13
 
14
14
ADMINS = (
66
66
# Make this unique, and don't share it with anybody.
67
67
SECRET_KEY = ''
68
68
 
69
 
# Load those sensitive settings from a local file with tight
70
 
# filesystem permissions.
71
 
from os.path import expanduser
72
 
execfile(expanduser('~/.django-{0}-settings'.format(SITE_NAME)))
73
 
 
74
69
# Language code for this installation. All choices can be found here:
75
70
# http://www.i18nguy.com/unicode/language-identifiers.html
76
71
LANGUAGE_CODE = 'en-us'
206
201
        }
207
202
    }
208
203
 
 
204
#APPEND_SLASH = True
 
205
 
209
206
# Custom settings:
210
207
 
211
208
MIN_TEMPLATE_PRIORITY = 3499
 
209
 
 
210
# Local settings
 
211
 
 
212
try:
 
213
    from local_settings import *
 
214
except ImportError:
 
215
    pass
 
216