diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-09-17 23:08:24 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-09-17 23:08:24 +0000 |
| commit | bcc2873c7009793d12ffd2f381149ac1b284b3e6 (patch) | |
| tree | b998a0e0f7091ba935a842ec1c35796566654c50 | |
| parent | 1e910f94d23e2b4dc2ae818c0fe23acec9f014aa (diff) | |
Companion django.core.extensions checkin to [644]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
