Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Companion django.core.extensions checkin to [644]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bcc2873c7009793d12ffd2f381149ac1b284b3e6 1 parent 1e910f9
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/extensions.py
View
2  django/core/extensions.py
@@ -8,7 +8,7 @@ class DjangoContext(Context):
This subclass of template.Context automatically populates 'user' and
'messages' in the context.
"""
- def __init__(self, request, dict={}):
+ def __init__(self, request, dict=None):
Context.__init__(self, dict)
self['user'] = request.user
self['messages'] = request.user.get_and_delete_messages()
Please sign in to comment.
Something went wrong with that request. Please try again.