django1/django/utils
Malcolm Tredinnick 356662cf74 Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359
See documentation in templates.txt and templates_python.txt for how everything
works.

Backwards incompatible if you're inserting raw HTML output via template variables.

Based on an original design from Simon Willison and with debugging help from Michael Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 12:58:53 +00:00
..
simplejson Fixed #3320: upgraded django.utils.simplejson to simplejson version 1.5. Thanks, Lawrence Oluyede. 2007-01-30 22:34:15 +00:00
translation i18n security fix. Details will be posted shortly to the Django mailing lists and the official weblog. 2007-10-26 19:52:42 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
_decimal.py Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00
_os.py Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have it 2007-08-12 12:49:01 +00:00
_threading_local.py Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, scott@clued-in.co.uk 2006-06-01 04:57:10 +00:00
autoreload.py Fixed #2330 -- Added hack to stop KeyErrors from being thrown by the autoreloading development server if USE_I18N=False 2006-07-28 22:13:34 +00:00
cache.py Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
checksums.py Fixed #5475 -- Added the Luhn check algorithm to django.utils.checksums so that 2007-10-20 13:40:20 +00:00
daemonize.py Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com 2006-06-20 05:24:19 +00:00
datastructures.py Simplified `SortedDict.__deepcopy__` now that the its constructor can take a sequence of tuples. 2007-11-12 03:12:47 +00:00
dateformat.py Fixed #5869 -- Corrected documentation for `now` template tag's "r" format character. Thanks, xavier.morel@masklinn.net. 2007-11-04 01:14:58 +00:00
dates.py Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +00:00
decorators.py Corrected misleading comment from [5619]. Not sure what I was smoking at the 2007-07-07 18:39:23 +00:00
encoding.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
feedgenerator.py Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch from 2007-10-20 14:54:38 +00:00
functional.py Fixed #5560 -- Improved the way we create __str__ and __unicode__ methods in 2007-10-21 18:35:31 +00:00
html.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
http.py Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
images.py Fixed #194 -- thanks, steadicat! 2005-07-25 22:16:30 +00:00
itercompat.py Fixed #5445: added some compatibility code for the lack of __iter__ in Jython 2.2. Thanks, Leo Soto. 2007-09-14 19:55:24 +00:00
maxlength.py Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
safestring.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
stopwords.py Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +00:00
synch.py Removed a bunch of annoying trailing whitespace. 2007-04-25 07:25:22 +00:00
termcolors.py Second half of little cleanup tweaks suggested by pyflakes. 2006-07-21 20:39:17 +00:00
text.py Fixed #5156 -- Added some translation calls to a couple of missed words. Based on a patch from dAniel hAhler. 2007-08-15 12:09:32 +00:00
timesince.py Removed unused import. 2007-09-17 04:54:53 +00:00
tzinfo.py Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +00:00
version.py Fixed #5237 -- Added an optional 'path' argument to get_svn_revision(). Thanks, django@poelzi.org 2007-08-24 03:53:04 +00:00
xmlutils.py Eliminated lots of mutable default arguments (since they are bugs 2006-06-03 13:37:34 +00:00