Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/templates
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #12323 and #11582 -- Extended the ability to ↵Jannis Leidel2010-10-201-1/+8
| | | | | | handle static files. Thanks to all for helping with the original app, the patch, documentation and general support. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fix the version which the safe argument for the ↵Chris Beaven2010-10-151-1/+1
| | | | | | urlencode filter was added. Thanks eternicode for pointing this out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11509 -- Modified usage of "Web" to match our ↵Russell Keith-Magee2010-10-091-1/+1
| | | | | | style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14383 -- Corrected the capitalization of ↵Russell Keith-Magee2010-10-081-1/+1
| | | | | | reStructuredText. Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13188 -- Moved date format documentation from the ↵Jannis Leidel2010-10-081-78/+81
| | | | | | now template tag to the date filter. Thanks, dwillis and timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14122 -- Added example for builtin yesno template ↵Jannis Leidel2010-09-261-0/+4
| | | | | | filter. Thanks, idahogray. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13765 - 'safe' parameter for urlencode filterLuke Plant2010-09-141-0/+13
| | | | | | Thanks to KyleMac for the suggestion and SmileyChris for the patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@13849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13350 - Documentation on autoescape should ↵Luke Plant2010-09-071-1/+7
| | | | | | | | | | mention endautoescape Thanks to mountainpaul@gmail.com for report and to dwillis patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Refactored markup documentation to give it it's own home.Russell Keith-Magee2010-08-281-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@13647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14112 -- Various Markup fixes for the docs. ↵Russell Keith-Magee2010-08-231-1/+1
| | | | | | Thanks to ramiro for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14141: docs now use the :doc: construct for links ↵Jacob Kaplan-Moss2010-08-193-20/+14
| | | | | | | | between documents. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11021 -- Clarified newline stripping behavior in ↵Russell Keith-Magee2010-08-071-0/+4
| | | | | | the truncatewords and truncatewords_html filters. Thanks to Ben Spaulding for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added notes about the two new date format specifiers ↵Jannis Leidel2010-05-161-4/+9
| | | | | | (``c`` and ``u``) added in 1.2. Thanks for the patch, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13547 -- Made sure the ISO 8601 date formatting ↵Jannis Leidel2010-05-161-1/+1
| | | | | | | | introduced in r12058 uses "T" as the separator between the date and the time value to increase real world usefulness. While the ISO standard permits the use of a space instead of "T" for readability, it does have an impact on standards like HTML5 which rely on specific rules made in RFC 3339. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13317 - Clarified documentation about how the ↵Jannis Leidel2010-05-091-0/+9
| | | | | | blocktrans and trans template tags work with regard to variables. Thanks for the initial patch, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #6752 -- Corrected the interaction of the safe ↵Russell Keith-Magee2010-05-091-0/+10
| | | | | | template filter with other filters. Thanks to Rupe and Alex Gaynor for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed typo and small formatting mistake in docsLuke Plant2010-05-071-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@13118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13287 -- Corrected the advice on argument ↵Russell Keith-Magee2010-05-061-1/+1
| | | | | | formatting in the {% url %} tag. Thanks to Gabriel Hurley for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13444 -- Improved the documentation around the ↵Russell Keith-Magee2010-05-011-0/+7
| | | | | | backwards compatibility quirks of the cycle and include tags. Thanks to awmcclain for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12945 -- Corrected the parsing of arguments in {% ↵Russell Keith-Magee2010-03-301-3/+17
| | | | | | url %} when the argument list has spaces between commas. This is a revised version of r12503, which was a fix for #12072. Thanks to SmileyChris for the patch, and to dmoisset for finding all the places in the docs that the old style syntax was used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13177 -- Corrected usage of firstof in admin ↵Russell Keith-Magee2010-03-231-6/+14
| | | | | | templates. Thanks to nomulous for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13114 -- Modified escapejs to produce output that ↵Russell Keith-Magee2010-03-151-3/+3
| | | | | | is JSON compliant. Thanks to David Danier for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13072: Corrected a few markup and formatting ↵James Bennett2010-03-111-1/+1
| | | | | | errors in the documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed three small doc markup errors.Malcolm Tredinnick2010-03-101-0/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@12741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13058 - "smart if" template tag doesn't support ↵Luke Plant2010-03-091-0/+5
| | | | | | | | | | "if not in ..." condition Thanks to ramusus for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11889: Documented the fact that context ↵James Bennett2010-03-031-0/+7
| | | | | | processors will overwrite pre-existing context variables of the same names. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12946: Removed an invalid example of url tag ↵Karen Tracey2010-03-021-3/+9
| | | | | | usage from the docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12968 - Added missing versionadded/-changed doc ↵Jannis Leidel2010-02-261-0/+9
| | | | | | markers for r12466. Thanks, Karen and Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12967 - Added missing versionadded/-changed doc ↵Jannis Leidel2010-02-261-3/+29
| | | | | | markers for r11964. Thanks, Karen and Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11687: the `add` filter is now less failsome when ↵Jacob Kaplan-Moss2010-02-231-0/+21
| | | | | | faced with things that can't be coerced to integers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12066 - Moved auth context processor from core to ↵Jannis Leidel2010-02-221-3/+3
| | | | | | the auth app. Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12496 - Added code examples to built-in filter ↵Jannis Leidel2010-01-131-2/+104
| | | | | | documentation. Thanks, Arthur Koziel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10800 -- Made a small improvement to ↵Adrian Holovaty2010-01-101-1/+2
| | | | | | render_to_string() docs. Thanks, p.patruno@iperbole.bologna.it and timo git-svn-id: http://code.djangoproject.com/svn/django/trunk@12161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12497 -- Fixed Sphinx errors in docs. Thanks, ramiroAdrian Holovaty2010-01-091-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@12129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7262 - Added ISO 8601 and microsecond format ↵Jannis Leidel2010-01-011-0/+2
| | | | | | string to utils.dateformat. Thanks zegor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #9465 -- Simplified API Reference documentation ↵Gary Wilson Jr2009-12-261-3/+4
| | | | | | titles for easier lookup and made first-level heading styles consistent. Thanks, adamnelson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added a few Sphinx directives to the form API and ↵Gary Wilson Jr2009-12-251-2/+4
| | | | | | template API docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7980 - Improved i18n framework to support locale ↵Jannis Leidel2009-12-221-4/+13
| | | | | | | | | | aware formatting (dates and numbers) and form processing. Thanks to Marc Garcia for working on this during his Google Summer of Code 2009! Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #6262 -- Added a cached template loader, and ↵Russell Keith-Magee2009-12-141-6/+102
| | | | | | modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Implemented 'smart if' template tag, allowing filters ↵Luke Plant2009-12-091-11/+149
| | | | | | | | | | | | | | | and various operators to be used in the 'if' tag Thanks to Chris Beaven for the initial patch, Fredrik Lundh for the basis of the parser methodology and Russell Keith-Magee for code reviews. There are some BACKWARDS INCOMPATIBILITIES in rare cases - in particular, if you were using the keywords 'and', 'or' or 'not' as variable names within the 'if' expression, which was previously allowed in some cases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4604 - Configurable message passing system, ↵Luke Plant2009-12-091-7/+32
| | | | | | | | | | | | | | | | | | supporting anonymous users This deprecates User.message_set in favour of a configurable messaging system, with backends provided for cookie storage, session storage and backward compatibility. Many thanks to Tobias McNulty for the bulk of the work here, with contributions from Chris Beaven (SmileyChris) and lots of code review from Russell Keith-Magee, and input from many others. Also credit to the authors of various messaging systems for Django whose ideas may have been pinched :-) git-svn-id: http://code.djangoproject.com/svn/django/trunk@11804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Cleaned up the release notes index page, and added some ↵Russell Keith-Magee2009-11-231-1/+3
| | | | | | stub 1.1.2 and 1.2 release notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Documented the presence of {% csrf_token %} in Django ↵Luke Plant2009-10-271-2/+5
| | | | | | 1.1.2 in trunk docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Moved contrib.csrf.* to core code.Luke Plant2009-10-271-3/+3
| | | | | | | | | | | | There is stub code for backwards compatiblity with Django 1.1 imports. The documentation has been updated, but has been left in docs/contrib/csrf.txt for now, in order to avoid dead links to documentation on the website. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #9977 - CsrfMiddleware gets template tag added, ↵Luke Plant2009-10-272-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | session dependency removed, and turned on by default. This is a large change to CSRF protection for Django. It includes: * removing the dependency on the session framework. * deprecating CsrfResponseMiddleware, and replacing with a core template tag. * turning on CSRF protection by default by adding CsrfViewMiddleware to the default value of MIDDLEWARE_CLASSES. * protecting all contrib apps (whatever is in settings.py) using a decorator. For existing users of the CSRF functionality, it should be a seamless update, but please note that it includes DEPRECATION of features in Django 1.1, and there are upgrade steps which are detailed in the docs. Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work on the patch, and to lots of other people including Simon Willison and Russell Keith-Magee who refined the ideas. Details of the rationale for these changes is found here: http://code.djangoproject.com/wiki/CsrfProtection As of this commit, the CSRF code is mainly in 'contrib'. The code will be moved to core in a separate commit, to make the changeset as readable as possible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10061 -- Added namespacing for named URLs - most ↵Russell Keith-Magee2009-07-162-5/+22
| | | | | | | | | | | | importantly, for the admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch. This change is backwards incompatible for anyone that is using the named URLs introduced in [9739]. Any usage of the old admin_XXX names need to be modified to use the new namespaced format; in many cases this will be as simple as a search & replace for "admin_" -> "admin:". See the docs for more details on the new URL names, and the namespace resolution strategy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11413 -- Added notes on the cycle and firstof tag ↵Russell Keith-Magee2009-07-031-5/+22
| | | | | | detailing that variables output by those tags will not be escaped by default. Thanks to krystal for the report and draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11204 -- Corrected typo in the pluralize doc. ↵Karen Tracey2009-05-271-1/+1
| | | | | | Thanks martin and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #11046: fixed a use of the deprecated cycle tag ↵Jacob Kaplan-Moss2009-05-141-1/+1
| | | | | | syntax in the template documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10825: fixed the 'U' format code to dateformat ↵Jacob Kaplan-Moss2009-05-081-1/+2
| | | | | | (and the date/now filter/tag). Thanks to gsong and mir. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10716 bcc190cf-cafb-0310-a4f2-bffc1f526a37