Marc Tamlyn
be733bf672
[1.7.x] Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
Backport of 9fb0f5dddc4cf7f2d294af1bcde2c359cffd90a5 from master
2014-05-24 13:11:50 +01:00
Claude Paroz
1f6b3cf145
[1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5 from master.
2014-05-22 18:34:00 +02:00
Claude Paroz
485163f72c
[1.7.x] Used link label in models FAQ to ease translation
...
Backport of d9d924250 from master.
2014-05-22 09:48:04 +02:00
Niclas Åhdén
aa9a146a69
[1.7.x] Fixed #22639 -- Added missing imports in docs
...
Added ModelForm and NON_FIELD_ERRORS imports.
Backport of 64ee097b3b from master
2014-05-21 11:20:38 -04:00
Moayad Mardini
269291019e
[1.7.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:46 -04:00
Moayad Mardini
4dd37a3a6e
[1.7.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:27 -04:00
Erik Romijn
bc2bfbadcc
[1.7.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
...
Backport of 727d048f0991ccbd1564c6fb225ffbfd2f1a2102 from master.
2014-05-17 15:11:00 +02:00
Tim Graham
0594d2d714
[1.7.x] Added stub release notes for 1.6.6.
...
Backport of 79e9da3d1e from master
2014-05-16 18:20:45 -04:00
Claude Paroz
8c5fbcf50a
[1.7.x] Fixed case in form widgets docs
...
Backport of 9494f29d from master
2014-05-16 17:44:20 -04:00
Moritz
bd45139d4e
[1.7.x] Fixed #22167 -- Improved documentation on context processors
...
Backport of e7ffba8f78849fbf60b98fb8d67ef4577b585e3b from master.
2014-05-16 18:27:55 +02:00
Niclas Åhdén
0504d19db0
[1.7.x] Fixed #22622 -- Added ugettext_lazy import in docs
...
Backport of 7271f5db78 from master
2014-05-16 11:20:58 -04:00
Claude Paroz
e8a7436941
[1.7.x] Harmonized some PEP 0263 coding preambles
...
Backport of e520a73ee from master.
2014-05-15 20:01:31 +02:00
Tim Graham
c5185172a6
[1.7.x] Minor edits to latest release notes.
...
Backport of 860d31ac7a from master
2014-05-15 07:16:57 -04:00
Anders Steinlein
2914f66983
[1.7.x] Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
...
Thanks Stephen Burrows for work on the patch as well.
2014-05-15 07:02:06 -04:00
Éric Araujo
d1860a3529
[1.7.x] Fixed typo that disabled code example highlighting
...
Backport of 5ab95168cc from master
2014-05-15 05:52:30 -04:00
Jacob Kaplan-Moss
77f0327d80
Added release notes for 1.4.13, 1.5.8, 1.6.5.
2014-05-14 18:42:38 +02:00
Tim Graham
50f228ae7c
[1.7.x] Removed an unnecessary anchor in the docs.
...
Backport of a06808d370 from master
2014-05-13 20:55:00 -04:00
Tim Graham
fb9edfa3e6
[1.7.x] Fixed spelling mistake and added a word to the word list.
...
Backport of 1165e9992e from master
2014-05-13 09:17:32 -04:00
Haris Ibrahim K. V
81aeffccf3
[1.7.x] Fixed typo in transactions.txt
...
Backport of f2a8e47cfd from master
2014-05-13 07:28:43 -04:00
Tim Graham
0bb90de869
[1.7.x] Fixed #22618 -- Improved import_string example.
...
Thanks ewjoachim for the sugggestion.
Backport of c501662f3c from master
2014-05-13 07:05:35 -04:00
Tim Graham
aa3fd4b97e
[1.7.x] Fixed #22619 -- Corrected description of os.path.
...
Thanks Collin Anderson for the report.
Backport of a1be7237ca from master
2014-05-12 18:58:11 -04:00
Tim Graham
e1f0efc501
[1.7.x] Added 1.6.5 release note for refs #22508 .
...
Backport of 13087020a9 from master
2014-05-12 12:44:40 -04:00
Tim Graham
2455699a91
[1.7.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:19 -04:00
Markus Amalthea Magnuson
ff938b3623
[1.7.x] Insert space.
...
Backport of 8eb51a8cf6 from master
2014-05-11 16:18:01 -04:00
Ramiro Morales
537f5905c9
[1.7.x] Link new testing tools document from main index.
...
63df886df7 from master.
2014-05-10 23:29:42 -03:00
Ramiro Morales
8cf6c5c789
[1.7.x] Fixed a few release notes typos.
...
38036e16c8f from master.
2014-05-10 23:19:49 -03:00
Andrew Godwin
7f63ac5a9f
[1.7.x] Fixed #22496 : Data migrations get transactions again!
2014-05-07 14:29:04 -07:00
Tim Graham
af06203cea
[1.7.x] Updated some docs for the delayed deprecation of legacy table creation; refs #22340 .
...
Backport of a2e3c96948 from master
2014-05-07 09:04:21 -04:00
Tim Graham
ab2865a48e
[1.7.x] Fixed some markup problems in docs/releases/security.txt.
2014-05-07 08:19:17 -04:00
Tim Graham
10327be1f3
[1.7.x] Bump DatabaseCreation deprecation to 2.0 (refs #22340 )
...
Backport of 61da5f3f02 from master
2014-05-07 08:16:01 -04:00
Andrew Godwin
1ed876ee5b
[1.7.x] Improve docs around deconstruction/serialisation (refs #22337 )
2014-05-06 23:07:10 -07:00
Claude Paroz
79e4a189f3
[1.7.x] Updated the messages context processor docs
...
Refs #20610 .
Backport of 7951f125e frmo master.
2014-05-06 20:39:13 +02:00
Tom
2dd52d0433
[1.7.x] Reordered tutorial 1 so that the database is configured first.
...
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware
Backport of 6923fdbbf1 from master
2014-05-05 13:42:36 -04:00
Tim Graham
2a2d7db01f
[1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
...
Backport of fb7c347f7b from master
2014-05-05 07:39:03 -04:00
Tim Graham
6a6f294f51
[1.7.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:21 -04:00
Anssi Kääriäinen
402fc4f6c9
[1.7.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
...
Backport of 5e1f4656b9 from master
2014-05-05 13:06:51 +03:00
Andrew Godwin
87d873ab47
[1.7.x] Fix docs error with deconstruct() docs
2014-05-03 16:18:56 -07:00
Claude Paroz
61fd00d4fd
[1.7.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
...
Thanks ygbo for the report.
Backport of 142c27218 from master.
2014-05-02 19:33:58 +02:00
Brenda J. Butler
35b7dd4ddb
[1.7.x] Fixed #22558 -- Added missing word in contributing docs
...
Backport of c8d257e81 from master.
2014-05-02 08:29:20 +02:00
Claude Paroz
d5a9d74eec
[1.7.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).
'Docs-only' forward port of 120a98120 from 1.6.x.
2014-05-01 18:17:55 +02:00
Tim Graham
3cd1db9121
[1.7.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:25:32 -04:00
Moayad Mardini
c0d5521e69
[1.7.x] Fixed #22546 -- Removed idioms in tutorial 2.
...
Thanks bjb at sourcerer.ca for the suggestion.
Backport of 927245ccd8 from master
2014-04-30 18:02:00 -04:00
Simon Charette
a6ecd5dbb3
[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation _id
field.
...
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.
Backport of 24ec9538b7 from master
2014-04-30 14:26:39 -04:00
Mike Fogel
bb5c7e4e8d
[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with choices.
...
Backport of 7fd1b35ed7 from master
2014-04-30 07:57:35 -04:00
Tim Graham
6d4df45e29
[1.7.x] Fixed #22442 -- Provided additional documentation regarding id fields clashing.
...
Thanks benjaoming for raising the issue and Loic for the examples.
Backport of 8ec388a69d from master
2014-04-30 07:38:31 -04:00
Aymeric Augustin
95c5e244fe
[1.7.x] Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
Backport of 0fb7570 from master
2014-04-29 08:34:00 +02:00
Tim Graham
997648d80b
[1.7.x] Added stub release notes for 1.6.5.
...
Backport of 650065f0ef from master
2014-04-28 20:38:29 -04:00
Tim Graham
a72069f5d2
[1.7.x] Added dates to release notes of today's release.
...
Backport of 68d264059a from master
2014-04-28 19:07:03 -04:00
Tim Graham
1d20693fa6
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755.
See the ticket for concerns with this implementation; it will be revisited.
Backport of aabceadd7d from master
2014-04-28 18:49:24 -04:00
Tim Graham
305ab00087
[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when running
...
Thanks Peter Landry for the report.
Backport of 26b03f2526 from master
2014-04-28 12:43:50 -04:00