#13956: Indefinite args for simpletags and inclusion tags
--------------------------------------+-------------------------------------
Reporter: melinath | Owner: gregmuellegger
Status: assigned | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords: simple_tag, simpletag
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by melinath):
* needs_tests: 1 => 0
Comment:
indefinite_args_patch_with_complete_tests.diff changes the following:
- Moves simple_tag and inclusion_tag tests in with the other template
tests to take advantage of the framework. This is especially helpful for
the inclusion tags since it means the test loader is accessible.
- Adds inclusion_tag tests.
- Adds tests for simple tags and inclusion tags that only have *args.
I did not add tests for takes_context=True... I can add those fairly
easily later if they are necessary. Which I guess they probably are?
--
Ticket URL: <http://code.djangoproject.com/ticket/13956#comment:5>
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.