#16383: More specific errors when resolving template Variables
-------------------------------------------------+-------------------------
 Reporter:  maraujop                             |          Owner:
     Type:  New feature                          |  maraujop
Milestone:                                       |         Status:  new
  Version:  1.3                                  |      Component:
 Keywords:  _resolve_lookup, resolve, template,  |  Template system
  variable, exception                            |       Severity:  Normal
Has patch:  1                                    |   Triage Stage:
    UI/UX:  0                                    |  Unreviewed
                                                 |  Easy pickings:  0
-------------------------------------------------+-------------------------
 When resolving a template variable that calls an object method/property.
 If that method/property has errors we get a `VariableDoesNotExist`
 exception without what errors happened, which might confuse the user.

 My patch raises the same exception, with related error information. I
 wasn't sure what type of Exception raise and probably the exception
 message is not the best one.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16383>
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 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