summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2007-11-29Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc forMalcolm Tredinnick
django-admin.py so that subversion updates keep it up to date. Patch from arien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP headerMalcolm Tredinnick
when setting the expiry time. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #4653 -- Improved the logic to decide when to include (and select asMalcolm Tredinnick
initial value) the blank choice for a model field with choices. Thanks to Ilya Semenov for persisting with this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and ↵Gary Wilson Jr
removed some code that was checking for its existance in settings before accessing it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19Fixed link to settings documentation in the i18n docs.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-18Rewrote the section about writing autoescaping-aware filters, based on feedbackMalcolm Tredinnick
from Ivan Sagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-17Fixed #5945 -- Treat string literals in template filter arguments as safeMalcolm Tredinnick
strings for auto-escaping purposes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15Fixed #5898 -- Updated docs for r6662, as pointed out by arien.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15Fixed #5892, #5930 -- Fixed some typos pointed out by ars@iki.fi and nickl.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14Documented the time-saver in flatpages: title and content are marked as safeMalcolm Tredinnick
strings. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14Content coming via {{ block.super }} is always going to be correctly escapedMalcolm Tredinnick
already. We mark it as safe so that template authors don't need to. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14Implemented auto-escaping of variable output in templates. Fully ↵Malcolm Tredinnick
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-11Fixed #5890 -- Fixed a ReST markup error. Thanks, arien.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-05Documentation for creating custom model fields.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04Added pretty tables for `floatformat` documentation.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04Fixed #5868 -- Provided an example of how to extend simplejson to serializeMalcolm Tredinnick
lazy translation objects for those who want to use it directly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04Fixed #5869 -- Corrected documentation for `now` template tag's "r" format ↵Gary Wilson Jr
character. Thanks, xavier.morel@masklinn.net. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-31Fixed #5842 -- Marked cache template tag as "New in development version", ↵Gary Wilson Jr
thanks `SmileyChris`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30Fixed #5832 -- Removed unneeded import in testing documentation, thanks ↵Gary Wilson Jr
Thomas Güttler. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30Fixed #5834 -- Fixed import in `formtools` documentation, thanks telenieko.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30Changed name of `PythonInterpreter` so as not to get confused with the use ↵Gary Wilson Jr
of `DJANGO_SETTINGS_MODULE mysite.other_settings` git-svn-id: http://code.djangoproject.com/svn/django/trunk@6630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30Fixed #5838 -- Fixed typo in email documentation, thanks huddlej@gmail.com.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-28Fixed #3457 -- Allow overridding of error messages for newforms Fields.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-23Edited docs/django-admin.txt changes from [6400]. (I'm behind on editing!)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Tweaked the caching docs to be consistent about the format for database cachesMalcolm Tredinnick
(and fixed a formatting error). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Fixed #1065 -- Added a "cache" template tag. Thanks, Ian Maurer and, ↵Malcolm Tredinnick
particularly, Nick Lane. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Changed the default form presentation of datetime values to not include theMalcolm Tredinnick
fractional second values (they usually aren't going to be needed). Based on patches from yi.codeplayer@gmail.com, andrews and Wiliam Alves de Souza. Fixed #4428, #4487 git-svn-id: http://code.djangoproject.com/svn/django/trunk@6578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Fixed #5013 -- Corrected the documentation about which how further middlewareMalcolm Tredinnick
processing is done after request or view middleware returns something. Thanks, Jason Yan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21Fixed #4493 -- Noted that the LocaleMiddleware's placement w.r.tMalcolm Tredinnick
CacheMiddleware is important. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4831 -- Added an "add" cache key method, for parity with memcached'sMalcolm Tredinnick
API. This works for all cache backends. Patch from Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4123 -- Changed the firstof template tag to correctly handle a literalMalcolm Tredinnick
string as its last argument. Thanks, Wesley Fok and Matt Boersma. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch fromMalcolm Tredinnick
jason.sidabras@gmail.com and Thomas Kerpe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4944 -- Added a note about Model.save() raising IntegrityError is aMalcolm Tredinnick
'unique' constraint is violated. Patch from PhiR. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Updated the new default value for BooleanFields, clarified the behaviour ofMalcolm Tredinnick
'required' for those fields and updated the examples to use required=False so that people get the hint. Refs #5104. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Added a section to the template documentation to clarify the arbitrary PythonMalcolm Tredinnick
code should not be expected to work. The might help balance expectations. Thanks, James Bennett. Fixed #5125. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5512 -- Added a note about a common MySQLdb upgrade problem. Thanks,Malcolm Tredinnick
Matt Boersma. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5601 -- Point out the existence of pep8.py for people wanting some extraMalcolm Tredinnick
help checking for consistency. Thanks, simeon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5637 -- Clarified that nothing extra is required when using SQLite andMalcolm Tredinnick
Python 2.5. Based on a patch from Matt Boersma. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Added "new in development version" marker for [6545].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4724 -- Added support for configurable session cookie paths. Helps withMalcolm Tredinnick
multiple Django installs under the same hostname. Thanks, frej and Graham Dumpleton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5782 -- Fixed a small typo spotted by obeattie.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #4854 -- Recommended the use of forward slashes even in Windows ↵Malcolm Tredinnick
configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5633, refs #5626: Change "Max OS X" to "Mac OS X" in tutorial01.Matt Boersma
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Added default value for LOCALE_PATHS from [6530].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5658 -- Added a note to the top of the "for template authors" ↵Gary Wilson Jr
template documentation that states the scope of the document, along with a link to the "for Python programmers" documentation. Removed the link to the "for Python programmers" documentation at the bottom since it would be redundant. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5666 -- Documented the `prefix` keyword argument for newforms.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5747 -- Added missing file extension in flatpage documentation. ↵Gary Wilson Jr
Thanks, Rob Hudson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19Fixed #5750 -- Documented `LOCALE_PATHS` setting, with a link to the ↵Gary Wilson Jr
internationalization documentation. Thanks, jdetaeye and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07Documented the strings_only param to smart_unicode() and force_unicode().Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6463 bcc190cf-cafb-0310-a4f2-bffc1f526a37