Upgrade to Django 1.2.5 if using the pinax dev build 0.9a1

10 views
Skip to first unread message

Chintan Tank

unread,
Feb 9, 2011, 10:43:43 AM2/9/11
to pinax...@googlegroups.com
There was a recent update to Django versions to resolve flaws in CSRF handling
I am using the dev build of pinax 0.9a1, is it safe to upgrade to the latest django version?

--
Thanks & Regards,

Chintan Tank
Software Developer
School of Library & Information Science
Indiana University, Bloomington.

http://www.cs.indiana.edu/~cdtank/

Brian Rosner

unread,
Feb 9, 2011, 3:28:51 PM2/9/11
to pinax...@googlegroups.com
We haven't had the time to test it yet, but most of the issues will
likely be in your application. You should try it yourself. If you do
come across in Pinax or any of its apps let us know.

> --
> You received this message because you are subscribed to the Google Groups
> "Pinax Users" group.
> To post to this group, send email to pinax...@googlegroups.com.
> To unsubscribe from this group, send email to
> pinax-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pinax-users?hl=en.
>

--
Brian Rosner
http://oebfare.com
http://twitter.com/brosner

Hukkinen

unread,
Feb 12, 2011, 4:49:57 PM2/12/11
to Pinax Users

Tried a virtual environment with an upgraded django 1.2.5 (instead of
1.2.1, bundeled with `pip install Pinax` i.e. dev version). Pinax
breaks.


TemplateSyntaxError at /account/login/
Caught AttributeError while rendering: 'CharField' object has no
attribute 'prepare_value'
Request Method: GET
Request URL: http://example.com/account/login/
Django Version: 1.2.5
Exception Type: TemplateSyntaxError
Exception Value:
Caught AttributeError while rendering: 'CharField' object has no
attribute 'prepare_value'
Exception Location: /home/hukkinen/venv/lib/python2.5/site-packages/
django/forms/forms.py in as_widget, line 444
Python Executable: /home/hukkinen/venv/bin/python
Python Version: 2.5.2
Python Path: ['/home/hukkinen/hukkinen/apps', '/home/hukkinen/
hukkinen', '/home/hukkinen/venv/lib/python2.5/site-packages/pip-0.8.2-
py2.5.egg', '/home/hukkinen/venv/lib/python2.5/site-packages/
setuptools-0.6c12dev_r88124-py2.5.egg', '/usr/lib/python2.5/site-
packages/pytz-2009a-py2.5.egg', '/usr/lib/python2.5/site-packages/
libxml2dom-0.4.7-py2.5.egg', '/usr/lib/python2.5/site-packages/
stompservice-0.1.0-py2.5.egg', '/usr/lib/python2.5/site-packages/
stomper-0.2.2-py2.5.egg', '/usr/lib/python2.5/site-packages/uuid-1.30-
py2.5.egg', '/usr/lib/python2.5/site-packages/orbited-0.7.9-
py2.5.egg', '/usr/lib/python2.5/site-packages/morbid-0.8.7.1-
py2.5.egg', '/usr/lib/python2.5/site-packages/demjson-1.4-py2.5.egg',
'/usr/lib/python2.5/site-packages/python_twitter-0.6-py2.5.egg', '/usr/
lib/python2.5/site-packages/django_imagekit-0.3.2-py2.5.egg', '/home/
hukkinen/hukkinen', '/home/hukkinen/hukkinen/apps/django-
facebookconnect', '/home/hukkinen/venv/lib/python2.5', '/home/hukkinen/
venv/lib/python2.5/plat-linux2', '/home/hukkinen/venv/lib/python2.5/
lib-tk', '/home/hukkinen/venv/lib/python2.5/lib-dynload', '/usr/lib/
python2.5', '/usr/lib/python2.5/lib-tk', '/home/hukkinen/venv/lib/
python2.5/site-packages', '/home/hukkinen/venv/lib/python2.5/site-
packages/PIL', '/usr/local/lib/python2.5/site-packages', '/usr/lib/
python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/
python2.5', '/var/lib/python-support/python2.5/gtk-2.0']
Server time: Sat, 12 Feb 2011 23:45:11 +0200
Template error

In template /home/hukkinen/venv/lib/python2.5/site-packages/uni_form/
templates/uni_form/field.html, error at line 24
Caught AttributeError while rendering: 'CharField' object has no
attribute 'prepare_value'
14 {{ field|with_class }}
15 {% endif %}
16
17 {% if field.label %}
18 <label for="{{ field.auto_id }}">
19 {{ field.label }}{% if field.field.required %}
<span>*</span>{% endif %}
20 </label>
21 {% endif %}
22
23 {% if not field|is_checkbox %}
24 {{ field|with_class }}
25 {% endif %}
26
27 {% if field.help_text %}
28 <p id="hint_{{ field.auto_id }}"
class="formHint">{{ field.help_text|safe }}</p>
29 {% endif %}
30 </div>
31 {% endif %}
Traceback Switch to copy-and-paste view

/home/hukkinen/venv/lib/python2.5/site-packages/django/core/handlers/
base.py in get_response
response = callback(request, *callback_args,
**callback_kwargs) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/pinax/apps/account/
views.py in login
return render_to_response(template_name, RequestContext(request,
ctx)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/shortcuts/
__init__.py in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader.py in render_to_string
return t.render(context_instance) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
return self._render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader_tags.py in render
return compiled_parent._render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader_tags.py in render
result = block.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render
output = self.filter_expression.resolve(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in resolve
new_obj = func(obj, *arg_vals) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/uni_form/templatetags/
uni_form_tags.py in as_uni_form
return template.render(c) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
return self._render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
defaulttags.py in render
nodelist.append(node.render(context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
loader_tags.py in render
return self.template.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
return self._render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in _render
return self.nodelist.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
defaulttags.py in render
return self.nodelist_false.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
defaulttags.py in render
return self.nodelist_true.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in render
bits.append(self.render_node(node, context)) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render_node
result = node.render(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
debug.py in render
output = self.filter_expression.resolve(context) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/template/
__init__.py in resolve
new_obj = func(obj, *arg_vals) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/uni_form/templatetags/
uni_form_field.py in with_class
return unicode(field) ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/forms/forms.py
in __unicode__
return self.as_widget() ...
▶ Local vars
/home/hukkinen/venv/lib/python2.5/site-packages/django/forms/forms.py
in as_widget
data = self.field.prepare_value(data) ...
▶ Local vars
Request information

GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
csrftoken
'11042dbc1e5529adb9c92e696e9a9278'
sessionid
'b261bf499be78f15bb6efa91676af7d6'
META
Variable Value
CSRF_COOKIE
'11042dbc1e5529adb9c92e696e9a9278'
CSRF_COOKIE_USED
True
DOCUMENT_ROOT
'/home/hukkinen/public_html'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8'
HTTP_CACHE_CONTROL
'max-age=0'
HTTP_CONNECTION
'close'
HTTP_COOKIE
'sessionid=b261bf499be78f15bb6efa91676af7d6;
csrftoken=11042dbc1e5529adb9c92e696e9a9278'
HTTP_HOST
'example.com'
HTTP_REFERER
'http://example.com/account/logout/'
HTTP_SCHEME
'http'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML,
like Gecko) Chrome/9.0.597.98 Safari/534.13'
HTTP_X_FORWARDED_FOR
'94.101.5.98'
HTTP_X_REAL_IP
'94.101.5.98'
PATH_INFO
u'/account/login/'
PATH_TRANSLATED
'/home/hukkinen/public_html/account/login/'
QUERY_STRING
''
REDIRECT_STATUS
'200'
REDIRECT_URI
'/django.fcgi/account/login/'
REMOTE_ADDR
'94.101.5.98'
REMOTE_PORT
'23305'
REQUEST_METHOD
'GET'
REQUEST_URI
'/account/login/'
SCRIPT_FILENAME
'/home/hukkinen/public_html/django.fcgi'
SCRIPT_NAME
u''
SERVER_ADDR
'127.0.0.1'
SERVER_NAME
'example.com'
SERVER_PORT
'64257'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SOFTWARE
'lighttpd'
wsgi.errors
<flup.server.fcgi_base.TeeOutputStream object at 0xa31c80c>
wsgi.input
<flup.server.fcgi_base.InputStream object at 0xa31c5cc>
wsgi.multiprocess
True
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module hukkinen.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{'auth.user': <function <lambda> at 0xf70a6df4>}
ACCOUNT_EMAIL_AUTHENTICATION
False
ACCOUNT_EMAIL_VERIFICATION
False
ACCOUNT_OPEN_SIGNUP
True
ACCOUNT_REQUIRED_EMAIL
False
ACCOUNT_UNIQUE_EMAIL
False
ADMINS
[]
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/site_media/static/admin/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['pinax.apps.account.auth_backends.AuthenticationBackend']
AUTH_PROFILE_MODULE
'profiles.Profile'
BANNED_IPS
()
BEHIND_PROXY
False
CACHE_BACKEND
'memcached://127.0.0.1:64274/'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMBINED_INBOX_COUNT_SOURCES
['messages.context_processors.inbox',
'friends_app.context_processors.invitations',
'notification.context_processors.notification']
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_APP
'example_comments'
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_NAME
'csrftoken'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
DATABASES
{'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '', 'NAME': 'example.com', 'OPTIONS': {}, 'PASSWORD':
'********************', 'PORT': '', 'TEST_CHARSET': None,
'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None,
'TIME_ZONE': 'Europe/Helsinki', 'USER': 'hukkinen'}}
DATABASE_ENGINE
''
DATABASE_HOST
''
DATABASE_NAME
''
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_ROUTERS
[]
DATABASE_USER
''
DATETIME_FORMAT
'N j, Y, P'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:
%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:
%M', '%m/%d/%y')
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b
%Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_TOOLBAR_CONFIG
{'INTERCEPT_REDIRECTS': False}
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_CONFIRMATION_DAYS
2
EMAIL_CONFIRMATION_UNIQUE_EMAIL
False
EMAIL_DEBUG
True
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
['/home/hukkinen/hukkinen/fixtures']
FORCE_LOWERCASE_TAGS
True
FORCE_SCRIPT_NAME
''
FORMAT_MODULE_PATH
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico',
'.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.admin', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.sessions',
'django.contrib.sites', 'django.contrib.messages',
'django.contrib.humanize', 'django.contrib.markup',
'pinax.templatetags', 'notification', 'staticfiles', 'debug_toolbar',
'mailer', 'uni_form', 'django_openid', 'ajax_validation', 'timezones',
'emailconfirmation', 'announcements', 'pagination', 'friends',
'messages', 'oembed', 'groups', 'threadedcomments', 'wakawaka',
'swaps', 'voting', 'tagging', 'bookmarks', 'photologue', 'avatar',
'flag', 'microblogging', 'locations', 'django_sorting',
'django_markup', 'tagging_ext', 'pinax.apps.account',
'pinax.apps.signup_codes', 'pinax.apps.analytics',
'pinax.apps.profiles', 'pinax.apps.blog', 'pinax.apps.tribes',
'pinax.apps.photos', 'pinax.apps.topics',
'pinax.apps.threadedcomments_extras', 'pinax.apps.voting_extras',
'about', 'socialauth', 'openid_consumer', 'commentor', 'example',
'example_comments']
INTERNAL_IPS
['127.0.0.1']
LANGUAGES
[('fi', u'Finnish'), ('sv', u'Swedish'), ('en', u'English')]
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'fi-FI'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_REDIRECT_URLNAME
'what_next'
LOGIN_URL
'/account/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
[]
MARKUP_CHOICES
[('restructuredtext', u'reStructuredText'), ('textile', u'Textile'),
('markdown', u'Markdown'), ('creole', u'Creole')]
MARKUP_FILTER_FALLBACK
'none'
MEDIA_ROOT
'/home/hukkinen/hukkinen/site_media/media'
MEDIA_URL
'/site_media/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.session.SessionStorage'
MIDDLEWARE_CLASSES
['django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'openid_consumer.middleware.OpenIDMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'groups.middleware.GroupAwareMiddleware',
'pinax.apps.account.middleware.LocaleMiddleware',
'django.middleware.doc.XViewMiddleware',
'pagination.middleware.PaginationMiddleware',
'django_sorting.middleware.SortingMiddleware',
'pinax.middleware.security.HideSensistiveFieldsMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware']
MONTH_DAY_FORMAT
'F j'
NOTIFICATION_LANGUAGE_MODULE
'account.Account'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PINAX_ROOT
'/home/hukkinen/venv/lib/python2.5/site-packages/pinax'
PINAX_THEME
'default'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
PROJECT_ROOT
'/home/hukkinen/hukkinen'
RESTRUCTUREDTEXT_FILTER_SETTINGS
{'cloak_email_addresses': True, 'file_insertion_enabled': False,
'raw_enabled': False, 'strip_comments': True, 'warning_stream':
<hukkinen.settings.NullStream object at 0xf70a9b6c>}
ROOT_URLCONF
'hukkinen.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SERVE_MEDIA
True
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'hukkinen.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
STATICFILES_DIRS
['/home/hukkinen/hukkinen/media', '/home/hukkinen/venv/lib/python2.5/
site-packages/pinax/media/default']
STATIC_ROOT
'/home/hukkinen/hukkinen/site_media/static'
STATIC_URL
'/site_media/static/'
TEMPLATE_CONTEXT_PROCESSORS
['socialauth.context_processors.facebook_api_key',
'django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.request',
'django.contrib.messages.context_processors.messages',
'staticfiles.context_processors.static_url',
'pinax.core.context_processors.pinax_settings',
'pinax.apps.account.context_processors.account',
'notification.context_processors.notification',
'announcements.context_processors.site_wide_announcements',
'messages.context_processors.inbox',
'friends_app.context_processors.invitations',
'hukkinen.context_processors.combined_inbox_count']
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
['/home/hukkinen/hukkinen/templates', '/home/hukkinen/venv/lib/
python2.5/site-packages/pinax/templates/default']
TEMPLATE_LOADERS
['django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source']
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
TIME_ZONE
'Europe/Helsinki'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.2.5 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
YAHOO_MAPS_API_KEY
'nh_tZe7V34F1ojcRUZwnxhNDi6IMuzeD.slnW13WYtgBmEaZEdrZyZxSSa7CHPg-'
YEAR_MONTH_FORMAT
'F Y'
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 500 page.

Daniel Greenfeld

unread,
Feb 12, 2011, 5:00:41 PM2/12/11
to pinax...@googlegroups.com
MInd placing that in a dpaste.de page so we can interpret it a little
more easily?

Danny

--
'Knowledge is Power'
Daniel Greenfeld
http://pydanny.com
http://cartwheelweb.com

Reply all
Reply to author
Forward
0 new messages