summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2009-11-03Fixed #10355 -- Added an API for pluggable e-mail backends.Russell Keith-Magee
Thanks to Andi Albrecht for his work on this patch, and to everyone else that contributed during design and development. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27Moved contrib.csrf.* to core code.Luke Plant
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
2009-10-26Fixed #9977 - CsrfMiddleware gets template tag added, session dependency ↵Luke Plant
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
2009-10-23Fixed a silly typo left over from removing Python 2.3 references.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-23Removed mentions of Python 2.3 support from the docs -- Django 1.2 drops ↵Jacob Kaplan-Moss
support for Python 2.3 -- and added a quick FAQ about that dropping of support. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-12Fixed #8274 - allow custom forms for auth 'login' and 'password_change' viewsLuke Plant
Thanks to julien for the suggestion and patch, and SmileyChris for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-30Fixed #11961: Corrected a few typos in docs/testing.txt. Thanks to timo for ↵James Bennett
the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-28Added 'key_prefix' keyword argument to cache_page()Luke Plant
This was available before r11586, but undocumented. It has now been re-added with documentation and explicit support, as it seems like a useful feature and people were using it before. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-23Fixed #11931: Removed mention of nonexistent get_sql() method for arguments ↵James Bennett
to limit_choices_to. Since the correct reference involves undocumented ORM internals, this simply removes the reference entirely in favor of publicly-documented use of Q objects. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11755 -- Added documentation for an edge case of FormSet usage. ↵Russell Keith-Magee
Thanks to ffualo for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11740 -- Added extra detail on the behavior of ModelForms. Thanks to ↵Russell Keith-Magee
severian for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #9414 -- Clarified the documentation on the permission decorators. ↵Russell Keith-Magee
Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11873 -- Corrected typo in generic views docs. Thanks to Brett Cannon ↵Russell Keith-Magee
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #11073 -- Added documentation for SESSION_COOKIE_PATH. Thanks to ↵Russell Keith-Magee
liling for the report, and gsong for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13Fixed #10864 -- Clarified the role played by redirect_to_field in the ↵Russell Keith-Magee
login_required auth decorator. Thanks to trigeek38 for the suggestion, and SmileyChris for the draft. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12Modified r11531 to use the original suggested text from the patch (which was ↵Russell Keith-Magee
better). git-svn-id: http://code.djangoproject.com/svn/django/trunk@11532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12Fixed #11589 -- Corrected an argument in the shortcuts documentation. Thanks ↵Russell Keith-Magee
to tsaylor for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11Fixed #11554: Several errors in Generic Views Documentation. Luke Plant
Thanks Ramiro. Refs #11477 - that ticket should have been marked a duplicate of #11554 git-svn-id: http://code.djangoproject.com/svn/django/trunk@11499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10Fixed #7376: auth docs don't say they depend on contenttypes.Luke Plant
Thanks arien git-svn-id: http://code.djangoproject.com/svn/django/trunk@11487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10Fixed #11477: Generic views docs point out bug with wrong querysetLuke Plant
Thanks SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@11484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21Cleanup of some minor markup problems in URL documentation.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17Fixed #11492 -- Corrected some typos, and added some extra markup for the ↵Russell Keith-Magee
URLs documentation. Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16Fixed #11491 -- Corrected minor typo in new namespace URL docs. Thanks to ↵Russell Keith-Magee
Carl Meyer for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16Fixed #10061 -- Added namespacing for named URLs - most importantly, for the ↵Russell Keith-Magee
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
2009-07-16Fixed #10908 -- Clarified the procedure for creating test users in the ↵Russell Keith-Magee
testing docs. Thanks to gruszczy and timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #11364 -- Modified the jsi18n example to use the {% url %} tag rather ↵Russell Keith-Magee
than a placeholder. Thanks to jcassee for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #10287 -- Added better examples in the docs of formset validation. ↵Russell Keith-Magee
Thanks to Andrew Badr for the text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11Fixed #11439 -- Added docs on including URL patterns as an iterable. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the draft text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #9607 -- Added documentation for the ``extra`` argument in test client ↵Russell Keith-Magee
methods. Thanks to jroes for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #10604 -- Added note on the limitation of ungettext, especially as ↵Russell Keith-Magee
relating to the {% blocktrans %} tag. Thanks to bartTC for the report, and Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #10741: Updated instructions on the best gettext package to get for ↵Karen Tracey
Windows. Thanks Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #11356 -- Added links to the growing collection of 3rd party database ↵Russell Keith-Magee
backends that are available. Thank to Nathan Auch for the draft text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Made correction to documentation change from [11045].Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11253 -- Normalized the way the docs refer to TestCase.assert* ↵Russell Keith-Magee
methods. Thanks to SmileyChris for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11322 -- Clarified docs regarding middleware processing. Thanks the ↵Russell Keith-Magee
Michael Malone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11318 -- Grammar correction in modelform docs. Thanks to seemant for ↵Russell Keith-Magee
the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11278 -- Clarified query documentation regarding bulk assignment of ↵Russell Keith-Magee
m2m values. Thanks to zgoda for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11272 -- Made some clarifications to the overview and tutorial. ↵Russell Keith-Magee
Thanks to jjinux for the review notes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Refs #11336 -- Another dummy commit to force refresh of some index pages by ↵Russell Keith-Magee
Sphinx, caused by file ommitted from [11025] and included in [11026]. Thanks to Peter Landry for the report, and Ramiro for the explanation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17Fixed #11335 -- Corrected model reference in generic views doc. Thanks oyvind.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17Update to [11025]. This time, actually include the new generic views ↵Russell Keith-Magee
documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17Fixed #10336 -- Added improved documentation of generic views. Thanks to ↵Russell Keith-Magee
Jacob and Adrian for the original text (from the DjangoBook), and Ramiro for doing the work of porting the docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17Fixed #9919 -- Added note on the need to mark transactions as dirty when ↵Russell Keith-Magee
using raw SQL. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10Fixed #10845 -- Clarified the examples for using ModelForms with fields or ↵Russell Keith-Magee
exclude specified. Thanks to Andrew Durdin for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27Fixed #11215 -- Replaced erroneous catch with except in testing doc. Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26Made some small improvements to docs/topics/http/sessions.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24Fixed #8857 -- Corrected ref in modelforms documentation and added ref to ↵Brian Rosner
file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-23Fixed #11188 -- Removed incorrect doc note about step being unsupported when ↵Karen Tracey
slicing query sets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18Fixed #11138 -- Corrected the description of behavior related to the max_num ↵Karen Tracey
parameter for model formsets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10819 bcc190cf-cafb-0310-a4f2-bffc1f526a37