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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2697 - (hide annotations) (download)
Tue Mar 27 18:06:00 2012 UTC (12 years, 1 month ago) by misc
File size: 2581 byte(s)
disable transaction middleware, https://bugs.mageia.org/show_bug.cgi?id=4499#c19
1 misc 627 # 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 misc 2697 # 'django.middleware.transaction.TransactionMiddleware',
37 misc 627 'pagination.middleware.PaginationMiddleware',
38     ]
39    
40     ROOT_URLCONF = 'urls'
41    
42     TEMPLATE_DIRS = [
43 misc 628 '<%= templates_dir %>',
44 misc 627 os.path.join(TX_ROOT, 'templates'),
45     ]
46    
47     INSTALLED_APPS = [
48     'django.contrib.admin',
49     'django.contrib.auth',
50     'django.contrib.comments',
51     'django.contrib.contenttypes',
52     'django.contrib.flatpages',
53     'django.contrib.markup',
54     'django.contrib.sessions',
55     'django.contrib.sites',
56     'django.contrib.admindocs',
57     'notification',
58     'django_filters',
59     'django_sorting',
60     'south',
61     'tagging',
62     'pagination',
63     'piston',
64     'contact_form',
65     'ajax_select',
66     'threadedcomments',
67     'staticfiles',
68     'authority',
69     # Transifex specific apps:
70     'transifex.txcommon',
71     # It's coming here due http://trac.transifex.org/ticket/596
72     'userprofile',
73     'transifex.languages',
74     'transifex.projects',
75     'transifex.releases',
76     'transifex.actionlog',
77     'transifex.txpermissions',
78     'transifex.teams',
79     'transifex.resources',
80     'transifex.storage',
81     # Must come in the end
82     'django_addons',
83     ]
84    
85     COMMENTS_APP = 'threadedcomments'

  ViewVC Help
Powered by ViewVC 1.1.30