#4250: Allow passing a list of templates into object_detail generic view
----------------------------------+-----------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian         
     Status:  new                 |            Component:  Template system
    Version:  SVN                 |           Resolution:                 
   Keywords:                      |                Stage:  Unreviewed     
  Has_patch:  1                   |           Needs_docs:  0              
Needs_tests:  0                   |   Needs_better_patch:  0              
----------------------------------+-----------------------------------------
Changes (by [EMAIL PROTECTED]):

  * has_patch:  0 => 1

Comment:

 Ok, bug fixed now.  The only "assumption" it makes is that if the value of
 a template being passed in is a single character, it isn't a valid
 template.  This catches the instance where a plain string is passed in (as
 has always been the behavior in the past) and it's accessed character-by-
 character as a list.  It also does the same check when an error is raised
 to ensure the template it was looking for is displayed correctly.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4250#comment:3>
Django Code <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