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
Tim Graham
a75318e813
[1.7.x] Fixed #22586 -- Added LANGUAGE_SESSION_KEY to __all__.
...
Thanks david.fischer.ch at gmail.com for the report.
Backport of 4492ea5475
from master
2014-05-06 19:50:32 -04: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
Claude Paroz
0d138b9cf4
[1.7.x] Fixed #22564 -- Prevented unneeded bytestrings in migrations
...
In some cases, this could lead to migrations written with Python 2
being incompatible with Python 3.
Thanks Tim Graham for the report and Loïc Bistuer for the advices.
Backport of da9cf53cb
from master.
2014-05-06 09:14:32 +02:00
Claude Paroz
e8f1395f4e
[1.7.x] Added a bunch of missing unicode_literals
...
Refs #22564 .
Backport of 12474dace
from master.
2014-05-06 09:14:03 +02:00
Ben Davis
549b658241
[1.7.x] Fixed #22570 -- Made Form.__getitem__ KeyError more descriptive.
...
Backport of df60db0e78
from master
2014-05-05 20:02:14 -04: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
Anssi Kääriäinen
76979a257d
[1.7.x] Fixed #22466 -- ordering by reverse foreign key
...
Ordering by reverse foreign key was broken by custom lookups patch
(commit 20bab2cf9d
).
Thanks to everybody who helped solving this issue. Special thanks to
Trac alias takis for reporting this.
Backport of 3b7c66a3ac
from master
2014-05-05 15:29:24 +03: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
Jakub Roztocil
4b6ba2c1d1
[1.7.x] Fixed #22489 -- missing implemenation for search lookup
...
When custom lookups were added, converting the search lookup to use
the new Lookup infrastructure wasn't done.
Some changes were needed to the added test, main change done by
committer was ensuring the test works on MySQL versions prior to 5.6.
Backport of 7131e14d00
from master
2014-05-05 14:40:06 +03: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
Tim Graham
f8fa735dc2
[1.7.x] Fixed #22435 -- Prevented adding a ManyToManyField from prompting for a default.
...
Thanks andrewsg for the report.
Backport of 3818d96426
from master
2014-05-02 20:53:39 -04: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
Chris Beaven
5ab93bbe74
[1.7.x] Fix migration autodector to work correctly with custom deconstructed values
2014-05-02 15:12:42 +12: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
Yehonatan Daniv
d56267ba57
[1.7.x] Fixed #22539 -- Copied exclude argument in Model.full_clean() to prevent side effects.
...
Backport of e2e4cdba11
from master
2014-05-01 09:30:49 -04:00
Tim Graham
e5941ba5f3
[1.7.x] flake8 fixes.
...
Backport of 45c2d1f5d9
from master.
2014-04-30 18:35:40 -04: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
Andrew Godwin
6ca5367869
[1.7.x] Cleanup failing test w/contenttypes and remove useless graph load
2014-04-30 15:12:18 -07: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
Andrew Godwin
35c2a14a49
[1.7.x] Fixed #22485 : Include all unmigrated apps in project state by default.
2014-04-30 12:26:11 -07: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
Claude Paroz
1084456ac2
[1.7.x] Fixed #22474 -- Made migration recorder aware of multiple databases
...
Thanks Tim Graham for the review.
Backport of 7c54f8cce
from master.
2014-04-30 16:55:12 +02: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
Tim Graham
a2cac1b68d
[1.7.x] Removed unused import.
...
Backport of d9c272b22f
from master
2014-04-30 07:27:56 -04:00
Bruno Ribeiro da Silva
72493b1b7c
[1.7.x] Fixed #22511 -- Added args to migrations management commands.
...
Backport of 83413c53d2
from master
2014-04-30 07:20:44 -04:00
Simon Charette
cda5745df0
[1.7.x] Fixed #22447 -- Make sure custom model bases can be migrated.
...
Thanks to cdestigter for the report.
Backport of 390f888745
from master
2014-04-29 10:55:45 -04:00