From bcc2873c7009793d12ffd2f381149ac1b284b3e6 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 17 Sep 2005 23:08:24 +0000 Subject: [PATCH] Companion django.core.extensions checkin to [644] git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/extensions.py b/django/core/extensions.py index f51047b0ec..753e600f23 100644 --- a/django/core/extensions.py +++ b/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()