#8571: comment framework throws obscure exception in {% comment_form_target %}
----------------------------------------------+-----------------------------
          Reporter:  [email protected]         |         Owner:  nobody          
            
            Status:  closed                   |     Milestone:  post-1.0        
            
         Component:  django.contrib.comments  |       Version:  1.0             
            
        Resolution:  worksforme               |      Keywords:  comment, 
comment_form_target
             Stage:  Unreviewed               |     Has_patch:  0               
            
        Needs_docs:  0                        |   Needs_tests:  0               
            
Needs_better_patch:  0                        |  
----------------------------------------------+-----------------------------
Comment (by mandric):

 This is a bug in Django since the exception/stacktrace that gets rendered
 is nearly useless.  The problem is farther down in the stack and the
 templating plumbing is clogging up proper raising of the error.  Lately
 when I get TemplateSyntaxError it is unrelated to the actual problem I see
 this as an important issue for django.

 So after a thorough cleanup of my urls.py and removal of .pyc files this
 bug disappeared for me.  Sure it was a configuration issue but I had to
 guess where the problem might be so this is a bug in django since the
 proper exception was not raised.  It does not seem related to
 django.contrib.comments component but there should be a ticket open for
 this template plumbing issue.  It would be nice if we could link to that
 issue/ticket, if it exists, from this ticket.  A bit of testing to make
 sure the template system raises the correct error when there is an issue
 in urls.py would be a good start, not sure if that exists already.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8571#comment:24>
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