summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2009-07-29BACKWARDS-INCOMPATIBLE CHANGE: Removed SetRemoteAddrFromForwardedFor middleware.Jacob Kaplan-Moss
In a nutshell, it's been demonstrated that this middleware can never be made reliable enough for general-purpose use, and that (despite documentation to the contrary) its inclusion in Django may lead application developers to assume that the value of ``REMOTE_ADDR`` is "safe" or in some way reliable as a source of authentication. So it's gone. See the Django 1.1 release notes for full details, as well as upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-24Fixed #11527 -- Added unit tests and documentation for the use of F() ↵Russell Keith-Magee
expressions in single object updates. Thanks to Zachary Voase for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11322 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-15Fixed #11480 -- Corrected markup error in admin docs. Thank to msgre for the ↵Russell Keith-Magee
report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #11235 -- Added a missing clause from some sample SQL in the queryset ↵Russell Keith-Magee
docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #11348 -- Trimmed the width of a screenshot image in the admin docs. ↵Russell Keith-Magee
Thanks to smcoll for the new image. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15Fixed #11374 -- Modified the documentation for forms.BooleanField to allow ↵Russell Keith-Magee
for the fact that it can be rendered using widgets other than a checkbox. Thanks to lygaret for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-13Fixed #11416 -- Restored use of the never_cache decorator on admin views. ↵Russell Keith-Magee
Thanks to Ramiro Morales and Michael Newmann for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11Fixed #11450 -- Corrected markup problem in contenttype docs. Thanks to ↵Russell Keith-Magee
seveas for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11Fixed #11454 -- Corrected mismatched parenthesis in admin docs. Thanks to ↵Russell Keith-Magee
seveas for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #11419 -- Corrected a minor typo in the admin docs. Thanks to jspeis ↵Russell Keith-Magee
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #9669 -- Corrected an answer in the admin FAQ that is wrong in a ↵Russell Keith-Magee
post-newforms-admin world. Thanks to Alex for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #11417 -- Corrected typo in MySQL collation notes. Thanks to vorushin ↵Russell Keith-Magee
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03Fixed #11413 -- Added notes on the cycle and firstof tag detailing that ↵Russell Keith-Magee
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
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 #10415 -- Added documentation for features added in r7627 and r7630; ↵Russell Keith-Magee
extensibility points for the ModelAdmin and AdminSite. Thanks to Ramiro Morales for the draft text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24Fixed #11354 -- Remove stray whitespace in queryset docs. Thanks to flebel ↵Russell Keith-Magee
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11094 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-18Fixed #11221 -- Replaced a reference to a non-existent URL with an actual ↵Russell Keith-Magee
explanation of sequences. Thanks to Rob Hudson for the report, and SmileyChris for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal ↵Russell Keith-Magee
for the report, and SmileyChris for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18Fixed #11312 -- Fixed the default value given for DEFAULT_FILE_STORAGE in ↵Russell Keith-Magee
the docs. THanks to x00nix@gmail.com for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11046 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 #11336 -- Dummy commit to force refresh of some index pages by Sphinx, ↵Russell Keith-Magee
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@11031 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 #10981 -- Clarified documentation regarding lazy cross-application ↵Russell Keith-Magee
relationships. Thanks to Ramiro for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10Fixed #11056 -- Corrected reference to File class in storage docs. Thanks to ↵Russell Keith-Magee
wam for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27Fixed #11204 -- Corrected typo in the pluralize doc. Thanks martin and ↵Karen Tracey
SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26Fixed #11070 -- Removed JING_PATH setting, which was no longer used. Thanks ↵Adrian Holovaty
for the patch, seanl git-svn-id: http://code.djangoproject.com/svn/django/trunk@10840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11031 -- Added doc for some additional roles needed when testing ↵Karen Tracey
Oracle. Thanks JirkaV and Matt Boersma. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11034: Corrected serialization example in admin actions doc. Thanks ↵Karen Tracey
timo and kaikuehne. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code ↵Karen Tracey
comments. Thanks kaikuehne. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-15Add a proper cross-reference to the mention of HttpRequest in the comment ↵James Bennett
moderation docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #11113: fixed a couple of issues that slipped through the cracks when ↵Jacob Kaplan-Moss
comment moderation was added to `django.contrib.comments`. The is a potentially backwards-incompatible change for users already relying on the internals of comment moderaration. To wit: * The moderation system now listens to the new `comment_will_be_posted`/`comment_was_posted` signals instead of `pre/post_save`. This means that import request-based information is available to moderation as it should be. * Some experimental code from `django.contrib.comments.moderation` has been removed. It was never intended to be merged into Django, and was completely untested and likely buggy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #11039: documented that aggregation and generic relations don't mix. ↵Jacob Kaplan-Moss
Thanks, psmith. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #11022: documented that the admin bulk delete action calls ↵Jacob Kaplan-Moss
`QuerySet.delete()`, not `Model.delete()`. Thanks, Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #10886: corrected a mistaken example in the admin docs.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14Fixed #11046: fixed a use of the deprecated cycle tag syntax in the template ↵Jacob Kaplan-Moss
documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12Fixed #9675: added note about upgrading the URLconf to the comment upgrade ↵Jacob Kaplan-Moss
guide. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-10Fixed #10792 -- Ensured that ModelChoiceFields don't provide an empty option ↵Russell Keith-Magee
when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08Fixed #10825: fixed the 'U' format code to dateformat (and the date/now ↵Jacob Kaplan-Moss
filter/tag). Thanks to gsong and mir. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08Fixed #10188: prevent newlines in HTTP headers. Thanks, bthomas.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02Fixed #10367 -- Corrected an example in the documentation for ↵Russell Keith-Magee
GenericRelation. Thanks to George Song for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22Now that formsets guarentee ordering (see [10623]) we can remove the ↵Jacob Kaplan-Moss
arbitrary validation of this fact added as part of [10077]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-22Added a `QuerySet.ordered` property to check if a queryset is already ↵Jacob Kaplan-Moss
ordered. Refs #10163. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16Fixed #10559 -- Clarified documentation on customization of comments pages. ↵Russell Keith-Magee
Thanks to Thejaswi Puthraya for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16Fixed #10726 -- Added documentation on AdminSite urls. Thanks to Alex Gaynor ↵Russell Keith-Magee
for the initial draft. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16Fixed #10776 -- Added metadata targets for the contrib.admin docs, and used ↵Russell Keith-Magee
one of those targets to clarify the SlugField docs. Thanks to ernop for the suggestion, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16Fixed #10704 -- Resurrected documentation for {% else %} clause on {% ↵Russell Keith-Magee
ifchanged %}, lost during docs refactor. Thanks to Tarken for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10563 bcc190cf-cafb-0310-a4f2-bffc1f526a37