Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 589401 Details for
Bug 828657
cobbler-web can't find django.contrib.sessions.middleware.SessionMiddleware
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
version check on TEMPLATE_LOADERS
cobbler-web_settings-py_loader_fix.diff (text/plain), 1.31 KB, created by
Pete Travis
on 2012-06-05 06:59:27 UTC
(
hide
)
Description:
version check on TEMPLATE_LOADERS
Filename:
MIME Type:
Creator:
Pete Travis
Created:
2012-06-05 06:59:27 UTC
Size:
1.31 KB
patch
obsolete
>From 9c5e3c9e7f704136d4366059092b919cf1737f90 Mon Sep 17 00:00:00 2001 >From: Pete Travis <me@petetravis.com> >Date: Tue, 5 Jun 2012 00:45:17 -0600 >Subject: [PATCH] moving TEMPLATE_LOADERS clause into django version check e > enter the commit message for your changes. Lines starting > >--- > web/settings.py | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/web/settings.py b/web/settings.py >index b1fbaf3..bb44949 100644 >--- a/web/settings.py >+++ b/web/settings.py >@@ -51,6 +51,12 @@ if django.VERSION[0] == 1 and django.VERSION[1] < 2: > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > ) >+ >+ TEMPLATE_LOADERS = ( >+ 'django.template.loaders.filesystem.load_template_source', >+ 'django.template.loaders.app_directories.load_template_source', >+ ) >+ > else: > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', >@@ -58,6 +64,11 @@ else: > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > ) >+ TEMPLATE_LOADERS = ( >+ 'django.template.loaders.filesystem.Loader', >+ 'django.template.loaders.app_directories.Loader', >+ # 'django.template.loaders.eggs.Loader', >+ ) > > ROOT_URLCONF = 'urls' > >-- >1.7.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 828657
: 589401 |
589405