Commit Graph

17788 Commits

Author SHA1 Message Date
Stephen Burrows 79f15ab1ef [1.7.x] Fixed #22628 -- Took initial forms into account when combining FormSet.min_num and FormSet.extra. 2014-05-16 06:37:05 -04:00
mbacho 6f0dcec44c [1.7.x] Fixed typo in multipartparser.py
Backport of 8a9d54aa69 from master
2014-05-16 05:35:28 -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
Collin Anderson 93d5b0d5b6 [1.7.x] typo: urlaprse -> urlparse
Backport of 8a2f04db91 from master
2014-05-15 06:36:14 -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 9f5adf8db3 --skip-scripts is no longer a thing.
See c29f82b4cf.
2014-05-14 18:52:33 +02:00
Jacob Kaplan-Moss 95cf17244c Bumped version number for release. 2014-05-14 18:45:54 +02: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
Erik Romijn e7b0cace45 [1.7.x] Added additional checks in is_safe_url to account for flexible parsing.
This is a security fix. Disclosure following shortly.
2014-05-14 10:18:27 +02:00
Aymeric Augustin 7fef18ba9e [1.7.x] Dropped fix_IE_for_vary/attach.
This is a security fix. Disclosure following shortly.
2014-05-14 10:18:26 +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.
38036e16c8 from master.
2014-05-10 23:19:49 -03:00
Claude Paroz 9d0ebceb32 [1.7.x] Fixed #21685 -- Displayed app verbose name in admindocs model index
Backport of 4cf82e5bcf from master.
2014-05-10 18:10:05 +02:00
Aymeric Augustin e9d0ef19bc [1.7.x] Fixed #22508 -- Avoided overwriting select_related.
Previously, known related objects overwrote related objects loaded
though select_related. This could cancel the effect of select_related
when it was used over more than one level.

Thanks boxm for the bug report and timo for bisecting the regression.

Backport of f574220f from master
2014-05-10 17:03:42 +02:00
Aymeric Augustin c54fb3d922 [1.7.x] Adjusted refactoring of vendor checks.
Thanks Shai for the thorough review.

Backport of fb90b7c from master
2014-05-10 14:55:22 +02:00
Stephen Burrows 0c198035e9 [1.7.x] Fixed #22502 -- Fixed microseconds/default/form interaction
Made explicit lack of microsecond handling by built-in datetime form
fields. Used that explicitness to appropriately nix microsecond
values in bound fields. Thanks Claude Paroz for the review.
Backport of a5de0df58 from master.
2014-05-10 10:58:51 +02:00
Malcolm Box 8a090c21f1 [1.7.x] Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiry
Refactored cache expiry logic for Locmemcache to make consistent across
all places where accessed, and correctly handle None as expiry time.
Backport of 66880e4cd from master.
2014-05-09 19:47:43 +02:00
Andrew Godwin 31eac71a76 [1.7.x] Tests for #22325 2014-05-08 21:49:09 -07:00
Andrew Godwin 1e8b1db050 [1.7.x] Fixed #22325: Ignore __first__ dependencies to your own app 2014-05-08 21:39:31 -07:00
Andrew Godwin 4535dedc42 [1.7.x] Fixed #22563: Ignore AUTH_USER_MODEL errors in from_state 2014-05-08 21:34:57 -07:00
Andrew Godwin d2e96b5792 Merge pull request #2637 from davidszotten/validator_comparisons
[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__
2014-05-08 19:49:59 -07:00
Aymeric Augustin 7194d40236 [1.7.x] Added feature flags for introspection capabilities.
Backport of 99d9fa32 from master
2014-05-08 22:53:21 +02:00
Aymeric Augustin 92a1e71100 [1.7.x] Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's
worth treating them differently.

Backport of cff59bed from master
2014-05-08 22:53:11 +02:00
Aymeric Augustin e3bc11cca9 [1.7.x] Replaced vendor checks by three feature flags.
Backport of c70a61eb from master
2014-05-08 22:53:00 +02:00
Aymeric Augustin 7f48d44c60 [1.7.x] Simplified indexes tests.
Backport of 43a80f48 from master
2014-05-08 22:52:53 +02:00
Aymeric Augustin 51fed81e33 [1.7.x] Reorganized backends tests.
This reduces the number of explicit vendor checks.

Backport of d6672631 from master
2014-05-08 22:52:34 +02:00
Aymeric Augustin e244e456c7 [1.7.x] Appeased flake8.
Backport of b1432bfc from master
2014-05-08 22:45:26 +02:00
Claude Paroz 189bcb9b09 [1.7.x] Removed unused imports in makemigrations
Backport of fc32e9c0d from master.
2014-05-08 19:40:48 +02:00
Andrew Godwin f2bf59a5bc [1.7.x] Fixed #22476: Couldn't alter attributes on M2Ms with through= set 2014-05-08 10:34:45 -07:00
Ramiro Morales bc82c0dbac [1.7.x] Restored site header text in password reset view.
It's the one shown when the optional integration described in
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature
is used.

Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix
different small UI regressions after a962286b74.

Refs #21293.

5ea34f3f86 from master.
2014-05-07 23:32:36 -03:00
Andrew Godwin 7f63ac5a9f [1.7.x] Fixed #22496: Data migrations get transactions again! 2014-05-07 14:29:04 -07:00
Andrew Godwin d8bf415ab2 [1.7.x] Fixed #22581: Pass default values for schema through get_db_prep_save() 2014-05-07 13:47:02 -07:00
Andrew Godwin f67433e74b [1.7.x] Fixed #22563: Better error message when trying to change AUTH_USER_MODEL
You're not allowed to do this after you've made migrations; see ticket
for more details.
2014-05-07 13:05:32 -07:00
David Szotten 724a7bf222 [1.7.x] Fixed #22588 -- Fix RegexValidator __eq__
Compare parameters instead of re.pattern instances, and add the other
parameters to the comparison. Also add a __ne__ to make assertNotEqual
work properly.
2014-05-07 19:28:42 +01: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
Andrew Godwin 2afb6e0526 [1.7.x] Fixed #22576: Ensure makemigrations doesn't touch the database. 2014-05-06 22:42:53 -07:00
Andrew Godwin f53d1576ca [1.7.x] Fixed #22337: FileSystemStorage marked as deconstructible and tested. 2014-05-06 22:24:39 -07:00