Commit Graph

6169 Commits

Author SHA1 Message Date
Tim Graham 18f25efc9e [1.6.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
Thanks gavinwahl for the report.

Backport of 3569536491 from master
2014-08-19 07:27:03 -04:00
Tim Graham 3cd3b49eb5 [1.6.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.

Backport of c587bd5a94 from master
2014-08-19 07:18:42 -04:00
Tim Graham d1e4fb996b [1.6.x] Fixed #23282 -- Corrected inheritance and reverse relations example.
Thanks knowledgepoint-devs for the report and claudep for review.

Backport of 7006187064 from master
2014-08-19 06:30:01 -04:00
Tim Graham 190d81179f [1.6.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
Backport of 5dbe2a9431 from master
2014-08-19 06:16:41 -04:00
Tim Graham 75d7bb8d43 [1.6.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
Backport of 15cafaa565 from master
2014-08-19 06:15:34 -04:00
Tim Graham 955fdc8cdb [1.6.x] Fixed #14638 -- Clarified model Field.to_python() docs.
Thanks Anubhav Joshi for the patch.

Backport of b6aa60f425 from master
2014-08-18 12:54:24 -04:00
Claude Paroz f5e8376288 [1.6.x] Fixed multi geometries editing in OpenLayers widget
Backport of 457c16d0d from master.
2014-08-15 10:10:35 +02:00
Zhaorong Ma 73cc96478b [1.6.x] Fixed a grammar error in docs/ref/forms/api.txt.
Backport of bef5b9b7cd from master
2014-08-14 12:15:18 -04:00
Claude Paroz 99b5567796 [1.6.x] Fixed #23265 -- Used system-specific encoding in runserver
Thanks SpaceFox for the report.
Backport of 055d95fce0 from master.
2014-08-14 12:11:42 +02:00
Tim Graham 123f490ae3 [1.6.x] Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab.

Backport of a7443c24a3 from master
2014-08-13 21:45:32 -04:00
Tim Graham db1cfbc1a9 [1.6.x] Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
Backport of 2003cb23d4 from master
2014-08-12 12:27:45 -04:00
Tim Graham d07394a51e [1.6.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:47 -04:00
Ola Sitarska ffb9cbfdaa [1.6.x] Fixed #23267 -- Fixed typo in Translation documentation
Thanks to Tomin1 for the report.

Backport of 2e7be92b4d from master.
2014-08-11 12:09:32 +02:00
Tim Graham 72e98d5c16 [1.6.x] Noted that django-jython requires Django 1.7. 2014-08-08 12:45:18 -04:00
Mohammed Attia 3d8e106ae9 [1.6.x] Removed a doc reference to the deprecated `mimetype` kwarg.
Backport of 61ed959235 from master
2014-08-06 22:20:05 -04:00
Tim Graham 5fdfa2d9b4 [1.6.x] Fixed #21792 -- Documented Form.has_changed()
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.

Backport of edcc75e5ac from master
2014-08-05 08:49:38 -04:00
Tim Graham 4121ce3dfa [1.6.x] Updated links for continous integration server.
Backport of 21d0ceefb5 from master
2014-08-05 07:29:00 -04:00
Tim Graham e275016f09 [1.6.x] Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
Thanks frewsxcv for the report.

Backport of 75f2c65cb6 from master
2014-08-02 15:04:05 -04:00
Erik Romijn 316178efe6 [1.6.x] Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
Backport of e26366da44 from master.
2014-08-02 18:59:27 +02:00
Tim Graham 0dfc37669d [1.6.x] Updated MySQL links to version 5.6.
Backport of fb4f3e04b1 from master
2014-08-02 10:27:34 -04:00
Tim Graham 1cfb1052ee [1.6.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 7ce4ef58c9 from master
2014-08-01 09:43:52 -04:00
Tim Graham faff723770 [1.6.x] Updated timezone docs to use timezone.now()
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.

Backport of da59902250 from master
2014-07-31 12:57:53 -04:00
Tim Graham e4b2bea743 [1.6.x] Fixed #19107 -- Restored bug fix for sending unicode email with Python 2.6.5 and below. 2014-07-30 09:29:08 -04:00
Tim Graham 8567c1a3c2 [1.6.x] Fixed #23132 -- Removed confusing clause in auth docs.
Backport of abb97cffdf from master
2014-07-30 08:16:07 -04:00
Shai Berger 838b7f8220 [1.6.x] Fixed #20292: Pass datetime objects (not formatted dates) as params to Oracle
This seems worthwhile in its own right, but also works around an Oracle
bug (in versions 10 -- 11.1) where the use of Unicode would reset the
date/time formats, causing ORA-01843 errors.

Thanks Trac users CarstenF for the report, jtiai for the initial patch,
and everyone who contributed to the discussion on the ticket.

Backport of 6983201 from master.
2014-07-29 07:00:26 -04:00
Baptiste Mispelon 8e25b696ba [1.6.x] Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
Thanks to wkschwartz for the report and to Tim for the patch.

Backport of e5619330e2 from master
2014-07-29 06:22:42 -04:00
Moayad Mardini 6c70b1d7df [1.6.x] Fixed #22491 -- documented how select_for_update() should be tested.
Thanks Andreas Pelme for the report.

Backport of 668d432d0a from master
2014-07-28 10:58:34 -04:00
David Hoffman a7fe87bd28 [1.6.x] Fixed #23106 -- Updated class-based view reference title.
Backport of f14898a453 from master
2014-07-26 20:47:13 -04:00
David Hoffman e3a99357cb [1.6.x] Fixed #22553 -- Added refreshing queryset info to docs.
Backport of 6d5daa30cf from master
2014-07-26 10:27:49 -04:00
Niclas Olofsson 1c714c18d2 [1.6.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.
Backport of 08b85de9b7 from master
2014-07-26 09:40:31 -04:00
David Hoffman 2630cafc86 [1.6.x] Fixed #23097 -- Switched to new octal format in docs
Backport of e1c85167a3 from master.
2014-07-26 11:24:04 +02:00
Moayad Mardini ae5a4668be [1.6.x] Fixed #22827 -- clarified what each cache middleware does.
Thanks Keryn Knight for the report.

Backport of f9b7a0383c from master
2014-07-25 06:26:45 -04:00
Tom Dyson deeaa78d5e [1.6.x] Improved docs for GEOSGeometry.simplify()
Backport of aa8bc7fa7d from master
2014-07-25 06:22:41 -04:00
Aymeric Augustin 83098dccdf [1.6.x] Fixed #23089 -- Fixed transaction handling in two management commands.
Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.

Also avoided transactional DDL and transactional truncates on databases
that don't support them (refs #22308).

Backport of 753a22a635, 0757e0f30d, and 6877a9d415 from master
2014-07-24 19:27:15 -04:00
africa itcase 290e389fe9 [1.6.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 06ba4b9eee from master
2014-07-22 13:28:02 -04:00
Iain Dawson 205090bc71 [1.6.x] Replaced instances of 'his/her' with 'their'.
Backport of 8fbf13a6c8 from master
2014-07-21 19:55:28 +00:00
Tim Graham ca44366b15 [1.6.x] Added 1.6.6 release notes for #22998. 2014-07-16 13:36:19 -04:00
Bartek Ciszkowski 24e97add31 [1.6.x] Fixed reference to pk in RedirectView.get_redirect_url doc.
Backport of d9f78d5344 from master
2014-07-16 13:23:59 -04:00
Tim Graham 21853c1b90 [1.6.x] Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.

Backport of 7d0519c725 from master
2014-07-16 12:35:04 -04:00
Ramiro Morales 609153d2bf [1.6.x] Added release note for issue 13794 fix. 2014-07-14 22:45:41 -03:00
Tim Graham a823a74975 [1.6.x] Fixed typo in docs/ref/contrib/gis/geos.txt.
Backport of fef26e9a87 from master
2014-07-10 06:09:47 -04:00
Tim Graham f3bdb83ba5 [1.6.x] Revert "Improve cookie based session backend docs." refs #20418
This reverts commit d9c01da1f8.

This is poor advice as it breaks the test client login (refs #22934).
We can add a note like this back after refs #22986 is resolved.

Backport of 3a85aae2ea from master
2014-07-09 14:12:52 -04:00
Tim Graham d8f7e00708 [1.6.x] Fixed #22978 -- Removed a USA-centric example that didn't add much.
Backport of 9f18b6bcb0 from master
2014-07-08 08:57:47 -04:00
Tim Graham 837cad0f62 [1.6.x] Fixed #22942 -- Noted that __init__.py files are required for management command detection.
Thanks Diego Cerdán for the suggestion.

Backport of 54546cee88 from master
2014-07-07 18:09:22 -04:00
Tim Graham 85f9745807 [1.6.x] Fixed #22966 -- Clarified which release notes appear for each doc version.
Thanks haimunt at yahoo.com for the suggestion.

Backport of e6b3d6c22f from master
2014-07-07 15:31:47 -04:00
Daniel Hahler b6bfdacdae [1.6.x] Fixed various minor doc typos / references.
Backport of 67f9f385aa from master
2014-07-05 20:27:03 -04:00
Tim Graham 890a2d632e [1.6.x] Fixed #22924 -- Added a note about MEDIA_URL in templates.
Thanks raphael.herouart at gmail.com

Backport of 814bcc3395 from master
2014-07-03 09:38:59 -04:00
Claude Paroz 9207442fe2 [1.6.x] raw() was still defined on Manager in Django 1.6 2014-07-02 18:29:16 +02:00
Tim Graham f3cd0a009e [1.6.x] Clarified that LocMemCache is per-process; refs #7639.
Thanks projectgus for the suggestion.

Backport of c37000ab04 from master
2014-07-02 10:14:17 -04:00
Tim Graham e125984394 [1.6.x] Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
Thanks mila for the suggestion.

Backport of db9a1a0c47 from master
2014-07-01 17:34:24 -04:00
Claude Paroz 6883602021 [1.6.x] Included irc link in paragraph to allow for l10n
Translators may want to change the irc link pointing to a
language-specific channel.
Backport of 232f2028d5 from master.
2014-07-01 21:57:31 +02:00
Tim Graham 735ece0b89 [1.6.x] Fixed #19489 -- Documented host parameter of assertRedirects().
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.

Backport of e3c7af18a3 from master
2014-06-30 17:53:54 -04:00
Claude Paroz 6b00b478d2 [1.6.x] Removed reference to old middleware
Backport of 0b5bafe993 from master
2014-06-30 15:24:13 -04:00
Tim Graham 6d0acc344f [1.6.x] Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
Backport of 5359188b08 from master
2014-06-30 14:32:59 -04:00
Tim Graham 044d419c21 [1.6.x] Fixed #22912 -- Warned about a common mistake in tutorial 5.
Backport of 1e8411259f from master
2014-06-27 09:52:35 -04:00
Éric Araujo 25d04ebe54 [1.6.x] Fixed copy/paste typos in StreamingHttpResponse doc.
Backport of e9c730f6be from master
2014-06-26 07:32:02 -04:00
Duncan Parkes 20a1c07ea1 [1.6.x] Improved documentation for QueryDict.
Backport of 7f4e2ef1e9 from master
2014-06-24 21:42:36 -04:00
Peter Kowalczyk e4670d988a [1.6.x] Fixed typo in middleware docs.
Function definition should have an ending colon.

Backport of 48241ec from master
2014-06-24 16:13:29 -04:00
Vlastimil Zíma ef3ae3d1c9 [1.6.x] Fixed #22514 -- Prevented indexes on virtual fields [postgres].
Backport of 78c32f1caa from master
2014-06-20 19:01:49 -04:00
Tim Graham d4a3fd44f0 [1.6.x] Fixed #22859 -- Improved crossDomain technique in CSRF example.
Thanks flisky for the report.

Backport of 0be4d64487 from master
2014-06-18 14:37:24 -04:00
Jorge C. Leitão 6b52e1793c [1.6.x] Fixed #14481 -- Documented implicit "through" class created by ManyToManyField.
Thanks to jonathanmorgan for the report and initial patch.

Backport of de90129070 from master
2014-06-18 12:39:36 -04:00
vagrant b0e5a527db [1.6.x] Fixed #22842
Backport of 7a1f8414c3 from master.
2014-06-15 21:11:36 +02:00
Moayad Mardini 26983c4c64 [1.6.x] Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.
Thanks cdestigter for the report.

Backport of 2d425116e2 from master
2014-06-12 16:42:44 -04:00
Tim Graham 15fe4ab671 [1.6.x] Fixed #22818 -- Clarified you need to cd into the Django clone.
Thanks Josh Parris.

Backport of bcc3d2b978 from master
2014-06-12 10:53:32 -04:00
Claude Paroz 631d0bb2da [1.6.x] Fixed #22813 -- Updated Pillow URL in documentation
Backport of dfa3505ff1 from master.
2014-06-12 08:58:29 +02:00
Maxime Turcotte fcd2e06ae5 [1.6.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
Backport of f97c53c098 from master
2014-06-10 15:41:25 -04:00
Tim Graham ab2a2f6695 [1.6.x] Removed duplicate "Deprecated in Django A.B" text in docs.
sphinx 1.2+ adds this text itself.

Backport of 7f4347b176 from master
2014-06-07 07:27:13 -04:00
Éric Araujo f5b6b25c5f [1.6.x] Fix missing highlighting in some code examples
Backport of 84cafc2b35 from master
2014-06-05 15:14:30 -04:00
Guillaume Pannatier 08bd249fa2 [1.6.x] Fixed #22710 -- Amended aggregation note for empty QuerySets
Thanks smeaton for report and Joël Rochat for spell check

Backport of 7f27cca5c5 from master
2014-06-04 12:45:27 -04:00
Bryce Nesbitt 9334150ca4 [1.6.x] Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
Backport of e020894470 from master
2014-06-02 18:53:00 -04:00
Guillaume Pannatier 4c358df66a [1.6.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.
Thanks matklad for the report.

Backport of 7c6e96ec1f from master
2014-05-30 08:05:48 -04:00
Tim Graham 3252e0654e [1.6.x] Improved deprecation plan links in release notes.
Backport of 7ff326928a from master
2014-05-29 18:59:22 -04:00
Moayad Mardini 082920d827 [1.6.x] Fixed #22601 -- Added a note about model inheritance.
Thanks semenov for the report.

Backport of 2ea1e70b85 from master
2014-05-27 20:11:56 -04:00
Claude Paroz 475b3791a3 [1.6.x] Used link label in models FAQ to ease translation
Backport of d9d924250 from master.
2014-05-22 09:48:36 +02:00
Moayad Mardini 6a2f8985c1 [1.6.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
The paragraph was a copy of strictly_above.

Backport of 2f43229c2f from master
2014-05-19 09:50:50 -04:00
Moayad Mardini 26221445df [1.6.x] Fixed #22368 -- clarified connecting to Oracle DB using service name
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309

Thanks michael.cherkasov for the report.

Backport of bfac6bef83 from master
2014-05-19 07:46:32 -04:00
Víðir Valberg Guðmundsson f3b0829017 [1.6.x] Fixed #22647 -- Documented redirect_field_name keyword argument for user_passes_test.
Backport of 268670a3a4 from master
2014-05-17 09:46:29 -04:00
Erik Romijn 91e03e81bb [1.6.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
Backport of 727d048f09 from master.
2014-05-17 15:14:53 +02:00
Tim Graham ee075c4484 [1.6.x] Added stub release notes for 1.6.6.
Backport of 79e9da3d1e from master
2014-05-16 18:19:49 -04:00
Claude Paroz ba40d6509a [1.6.x] Fixed case in form widgets docs
Backport of 9494f29d from master
2014-05-16 17:43:10 -04:00
Moritz 20215f4cae [1.6.x] Fixed #22167 -- Improved documentation on context processors
Backport of e7ffba8f78 from master.
2014-05-16 18:29:25 +02:00
Niclas Åhdén 1a3371d1e4 [1.6.x] Fixed #22622 -- Added ugettext_lazy import in docs
Backport of 7271f5db78 from master
2014-05-16 11:21:05 -04:00
Tim Graham d41a001011 [1.6.x] Minor edits to latest release notes.
Backport of 860d31ac7a from master
2014-05-15 07:17:02 -04:00
Jacob Kaplan-Moss b053eb929b Added release notes for 1.4.13, 1.5.8, 1.6.5. 2014-05-14 18:36:44 +02:00
Tim Graham e05a6222cd [1.6.x] Removed an unnecessary anchor in the docs.
Backport of a06808d370 from master
2014-05-13 20:55:05 -04:00
Haris Ibrahim K. V bff0eb3b24 [1.6.x] Fixed typo in transactions.txt
Backport of f2a8e47cfd from master
2014-05-13 07:28:46 -04:00
Tim Graham c530a63429 [1.6.x] Fixed #22619 -- Corrected description of os.path.
Thanks Collin Anderson for the report.

Backport of a1be7237ca from master
2014-05-12 18:58:14 -04:00
Tim Graham b718e292ac [1.6.x] Added 1.6.5 release note for refs #22508.
Backport of 13087020a9 from master
2014-05-12 12:44:48 -04:00
Tim Graham 42f8029b36 [1.6.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
Backport of 986bd41f8a from master
2014-05-12 07:01:23 -04:00
Markus Amalthea Magnuson 129c446e86 [1.6.x] Insert space.
Backport of 8eb51a8cf6 from master
2014-05-11 16:18:21 -04:00
Ramiro Morales 8ebf38b7a4 [1.6.x] Fix typo in release notes. 2014-05-10 23:22:51 -03:00
Claude Paroz dd9cedf16a [1.6.x] Updated the messages context processor docs 2014-05-06 20:40:59 +02:00
Tim Graham f939e25b59 [1.6.x] Fixed #22585 -- Fixed typo in topics/auth/customizing.txt.
Thanks matt at mattwoodward.com for the report.
2014-05-06 12:13:55 -04:00
Tim Graham 5783088eec [1.6.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
Backport of fb7c347f7b from master
2014-05-05 07:39:08 -04:00
Tim Graham cddbaca697 [1.6.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
Thanks adminq80 at gmail.com.

Backport of 87776859af from master
2014-05-05 06:42:32 -04:00
Anssi Kääriäinen 0e37049636 [1.6.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
Backpatch of 5e1f4656b9 from master.

Conflicts:
	django/db/models/sql/query.py
	tests/queries/models.py
	tests/queries/tests.py
2014-05-05 13:27:54 +03:00
Claude Paroz 034866204b [1.6.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
Thanks ygbo for the report.
Backport of 142c27218 from master.
2014-05-02 19:38:46 +02:00
Brenda J. Butler b97b24882c [1.6.x] Fixed #22558 -- Added missing word in contributing docs
Backport of c8d257e81 from master.
2014-05-02 08:29:59 +02:00
Claude Paroz 120a981207 [1.6.x] Fixed #22551 -- Made oracle backend method Python 3 compatible
Thanks fatal10110 at gmail.com for the report. The fix is 1.6-only
because that code has been refactored in 1.7 (6983201cfb).
2014-05-01 18:15:00 +02:00
Tim Graham c1692fa25a [1.6.x] Fixed #22547 -- Added some links to tutorial 2.
Thanks bjb at sourcer.ca for the suggestion.

Backport of b0d032f9fc from master
2014-04-30 18:26:04 -04:00