Commit Graph

36 Commits

Author SHA1 Message Date
Adrian Holovaty bedf10a98d Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:44:04 +00:00
Adrian Holovaty 24b98280a5 Fixed bug in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:45:12 +00:00
Adrian Holovaty 3ae9542c24 Beefed up docs for floatformat template filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:44:21 +00:00
Adrian Holovaty 912ddb16bc Fixed formatting bug in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 04:42:26 +00:00
Adrian Holovaty 371f63c210 Fixed #742 -- Implemented 't' dateformat. Thanks, radek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:53:13 +00:00
Adrian Holovaty 72547994c1 Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:37:20 +00:00
Adrian Holovaty bd0d8a779e Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:36:28 +00:00
Adrian Holovaty eb590d894d Changed headers in docs/templates.txt to match style from other documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:33:23 +00:00
Adrian Holovaty aa89487fd0 Fixed ReST bug in [1110]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:32:22 +00:00
Adrian Holovaty 92241e21b8 Reformatted docs/templates.txt to put headings in filter and tag references, so each tag/filter gets a permalink
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:30:06 +00:00
Adrian Holovaty 17f62269c2 Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:37:59 +00:00
Adrian Holovaty 3e7ea41bbb Added note about ALLOWED_INCLUDE_ROOTS to docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 21:58:01 +00:00
Adrian Holovaty 62db7c5c94 Fixed another ReST bug in template docs from [969]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:32:49 +00:00
Adrian Holovaty 81fd300a4e Fixed ReST bug in template docs from [969]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:31:54 +00:00
Adrian Holovaty 4c327b9c86 Lightly refactored django.utils.dateformat to make it use less code. Also integrated some of Sune's improvements from the #479 patch, including support for backslash escaping. Also vastly improved template docs for the {% now %} tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:30:11 +00:00
Adrian Holovaty 91bd6eed06 Fixed typo in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 18:08:55 +00:00
Adrian Holovaty 63a3c72e19 Added note about multiple block tags to docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 14:26:20 +00:00
Adrian Holovaty f2b8e85360 Fixed ReST bugs in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 15:02:44 +00:00
Adrian Holovaty ed1c9b2046 Fixed #622 -- Added default_if_none filter. Thanks, Eric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:48:27 +00:00
Jacob Kaplan-Moss 27b1f69d79 Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:34:29 +00:00
Adrian Holovaty 2e8e256fe8 Improved docs/templates.txt to add example for slice filter. Thanks for the suggestion, Graham Higgins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-24 17:39:20 +00:00
Adrian Holovaty 096ad32c84 Added docs/templates_python.txt, which isn't finished yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 23:38:46 +00:00
Adrian Holovaty 29c50bc0d4 Fixed #287 -- Clarified description for 'slugify' template filter. Thanks, emccoy@interland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 22:58:58 +00:00
Adrian Holovaty 2577581808 Updated template docs to reflect [587]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:21:08 +00:00
Adrian Holovaty 02ebeec0dc Updated docs/templates.txt to add {% ifequal %}
git-svn-id: http://code.djangoproject.com/svn/django/trunk@576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 21:58:21 +00:00
Adrian Holovaty 217c746789 Copy-edited docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 22:39:25 +00:00
Adrian Holovaty 32fe8e3863 Removed Janet Reno example from doc/templates.txt -- thanks, Bob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 21:42:27 +00:00
Jacob Kaplan-Moss 18749c0060 Rolled a number of comments into documentation; thanks to all those who contributed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:05:10 +00:00
Adrian Holovaty 136d78b86e Fixed typo in template docs -- Thanks, Nicholas Riley and Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:15:26 +00:00
Jacob Kaplan-Moss 058c526ef9 Rolled comments from template page into FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 17:13:20 +00:00
Jacob Kaplan-Moss 7fcae93850 Fixed small indentation error in [73]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@74 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:46:44 +00:00
Wilson Miner 6b68559c9a Clarified template documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@73 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:44:19 +00:00
Jacob Kaplan-Moss 0f40f3b757 More doc improvments: moved overview into doc system so it can be distributed with the package, and fixed a few spelling errors in templates doc (fixes #31).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@49 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 15:31:20 +00:00
Jacob Kaplan-Moss 35d41699a9 Fixed another few small bugs in docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@44 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 00:53:18 +00:00
Jacob Kaplan-Moss f19dbab514 Made a bunch of doc improvements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@41 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 00:42:28 +00:00
Jacob Kaplan-Moss 1cb1d9cd07 Moved django-docs to just plain docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13 18:54:07 +00:00