#15360: Regression with handling of template context
-----------------------------+----------------------------------------------
 Reporter:  julien           |          Owner:  nobody    
   Status:  new              |      Milestone:  1.3       
Component:  Template system  |        Version:  1.2       
 Keywords:                   |   Triage Stage:  Unreviewed
Has patch:  0                |  
-----------------------------+----------------------------------------------
 It seems that [15591] has broken something in the way the context is
 passed to the template, as the tests are now failing for me (simply run
 with test_sqlite.py):

 {{{
 ======================================================================
 ERROR: test_current_site_in_context_after_login
 (django.contrib.auth.tests.views.LoginTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 
"/Users/julien/.virtualenvs/djangotests/src/django/django/contrib/auth/tests/views.py",
 line 203, in test_current_site_in_context_after_login
     self.assertEquals(response.context['site'], site)
   File
 "/Users/julien/.virtualenvs/djangotests/src/django/django/template/context.py",
 line 46, in __getitem__
     raise KeyError(key)
 KeyError: 'site'
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15360>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to