#15791: New feature: callable objects can signal that templates should never 
call
them
-------------------------------------+-------------------------------------
               Reporter:  ejucovy    |        Owner:  nobody
                   Type:  New        |       Status:  closed
  feature                            |    Component:  Template system
              Milestone:             |     Severity:  Normal
                Version:  SVN        |     Keywords:
             Resolution:  fixed      |    Has patch:  1
           Triage Stage:  Ready for  |  Needs tests:  0
  checkin                            |
    Needs documentation:  0          |
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------

Comment (by lukeplant):

 @ejucovy:

 For your information, I made some other tweaks to the patch, including:

 1. Fixed in an error in the docs, which talked about the empty string
 rather than TEMPLATE_STRING_IF_INVALID
 2. Clarified that the `do_no_call_in_templates` attribute should be set to
 `True`
 3. Added a 'versionadded' directive
 4. Removed/trimmed some of the comments in the tests - they were a little
 bit verbose for my taste. Comments should not duplicate information that
 is self-evident from the code.

 Thanks again.

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