#32936: NoReverseMatch Error for a line that is commented out in HTML
-------------------------------------+-------------------------------------
               Reporter:  Omid       |          Owner:  nobody
  Shojaee                            |
                   Type:  Bug        |         Status:  new
              Component:  Template   |        Version:  3.2
  system                             |       Keywords:  NoReverseMatch,
               Severity:  Normal     |  Template
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 In my HTML code I had a reference to a view which is not created yet, so I
 had that line commented out.

 But I still got NoReverseMatch error, until I removed that line
 completely.

 This is not my expected behavior. The template backend must recognize
 HTML's comment tags (<!-- ... -->) and ignore them.

 I use the default backend.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32936>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.0418cd622be9571f91c2f41210e2a641%40djangoproject.com.

Reply via email to