/[adm]/puppet/modules/transifex/templates/50-project.conf
ViewVC logotype

Contents of /puppet/modules/transifex/templates/50-project.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 627 - (show annotations) (download)
Wed Dec 15 12:56:33 2010 UTC (12 years, 11 months ago) by misc
File size: 2493 byte(s)
add configfile for template related stuff
1 # List of callables that know how to import templates from various sources.
2 TEMPLATE_LOADERS = (
3 'django.template.loaders.filesystem.load_template_source',
4 'django.template.loaders.app_directories.load_template_source',
5 # 'django.template.loaders.eggs.load_template_source',
6 )
7
8 TEMPLATE_CONTEXT_PROCESSORS = [
9 "django.core.context_processors.auth",
10 "django.core.context_processors.debug",
11 "django.core.context_processors.i18n",
12 "django.core.context_processors.media",
13 "django.core.context_processors.request",
14 "notification.context_processors.notification",
15 "staticfiles.context_processors.static_url",
16 ]
17
18 TEMPLATE_CONTEXT_PROCESSORS += (
19 'userprofile.context_processors.css_classes',
20 'txcommon.context_processors.site_section',
21 'txcommon.context_processors.bidi',
22 )
23
24 MIDDLEWARE_CLASSES = [
25 # Enable GZIP compression
26 'django.middleware.gzip.GZipMiddleware',
27 'django.middleware.common.CommonMiddleware',
28 # Enable protection against Cross Site Request Forgeries
29 # FIXME: Enable CSRF!
30 'django.contrib.sessions.middleware.SessionMiddleware',
31 'django.contrib.auth.middleware.AuthenticationMiddleware',
32 'django.middleware.locale.LocaleMiddleware',
33 'django.middleware.doc.XViewMiddleware',
34 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
35 'django_sorting.middleware.SortingMiddleware',
36 'pagination.middleware.PaginationMiddleware',
37 ]
38
39 ROOT_URLCONF = 'urls'
40
41 TEMPLATE_DIRS = [
42 os.path.join(TX_ROOT, 'templates'),
43 ]
44
45 INSTALLED_APPS = [
46 'django.contrib.admin',
47 'django.contrib.auth',
48 'django.contrib.comments',
49 'django.contrib.contenttypes',
50 'django.contrib.flatpages',
51 'django.contrib.markup',
52 'django.contrib.sessions',
53 'django.contrib.sites',
54 'django.contrib.admindocs',
55 'notification',
56 'django_filters',
57 'django_sorting',
58 'south',
59 'tagging',
60 'pagination',
61 'piston',
62 'contact_form',
63 'ajax_select',
64 'threadedcomments',
65 'staticfiles',
66 'authority',
67 # Transifex specific apps:
68 'transifex.txcommon',
69 # It's coming here due http://trac.transifex.org/ticket/596
70 'userprofile',
71 'transifex.languages',
72 'transifex.projects',
73 'transifex.releases',
74 'transifex.actionlog',
75 'transifex.txpermissions',
76 'transifex.teams',
77 'transifex.resources',
78 'transifex.storage',
79 # Must come in the end
80 'django_addons',
81 ]
82
83 COMMENTS_APP = 'threadedcomments'

  ViewVC Help
Powered by ViewVC 1.1.28