#15721: {% include %} and RequestContext fails since r15795
------------------------------------+-------------------------------
               Reporter:  mk        |        Owner:  SmileyChris
                   Type:  Bug       |       Status:  reopened
              Milestone:            |    Component:  Template system
                Version:  1.3       |     Severity:  Release blocker
             Resolution:            |     Keywords:
           Triage Stage:  Accepted  |    Has patch:  1
    Needs documentation:  0         |  Needs tests:  0
Patch needs improvement:  1         |
------------------------------------+-------------------------------
Changes (by ikelly):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening because I'm seeing a whole bunch of errors in the tests from
 this revision on.  A couple of examples:

 {{{
 ======================================================================
 ERROR: test_current_site_in_context_after_login
 (django.contrib.auth.tests.views.LoginTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python25\Lib\site-
 packages\django.trunk\django\contrib\auth\tests\views.py", line 203, in
 test_current_site_in_context_after_login
     self.assertEqual(response.context['site'], site)
   File "C:\Python25\Lib\site-
 packages\django.trunk\django\template\context.py", line 55, in __getitem__
     raise KeyError(key)
 KeyError: 'site'

 ======================================================================
 ERROR: test_action_column_class
 (regressiontests.admin_views.tests.AdminActionsTest)
 Tests that the checkbox column class is present in the response
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python25\Lib\site-
 packages\django.trunk\tests\regressiontests\admin_views\tests.py", line
 1985, in test_action_column_class
     self.assertNotEqual(response.context["action_form"], None)
   File "C:\Python25\Lib\site-packages\django.trunk\django\test\utils.py",
 line 42, in __getitem__
     raise KeyError(key)
 KeyError: 'action_form'
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15721#comment:19>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to