Tim Graham
41b30a992e
[2.0.x] Added stub release notes for 2.0.2.
...
Backport of 0f5a741ada39f5ac193b9b9cfc00088ebd325f32 from master
2018-01-01 20:12:08 -05:00
Tim Graham
0cc2b30044
[2.0.x] Post-release version bump.
2018-01-01 20:11:42 -05:00
Tim Graham
e4509136f3
[2.0.x] Bumped version for 2.0.1 release.
2.0.1
2018-01-01 19:41:05 -05:00
Tim Graham
45cf4ae862
[2.0.x] Added release date for 2.0.1 and 1.11.9.
...
Backport of 3ae2bcc7689bb912399c08329d2baa4b5d8bd6b2 from master
2018-01-01 19:35:05 -05:00
Philipp Bosch
de29c1f950
[2.0.x] Fixed typo in TemplateCommand argument help text.
...
Backport of 248fa208cb2c7607fb7a464238fb8ebe62e6a54c from master
2018-01-01 19:31:39 -05:00
Mariusz Felisiak
8f67eeaef4
[2.0.x] Refs #28958 -- Added a test for ModelAdmin with query expressions in ordering.
...
This provides additional test coverage but isn't a regression test for
the ticket's issue.
Backport of 1d00923848d504c6132019492b8d5a6cdf8261db from master
2017-12-27 19:49:15 +01:00
Mariusz Felisiak
b54302d226
[2.0.x] Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
...
Thanks Tim Graham for the review.
Backport of c8152137400b5932578cd1788b79560c9772e56b from master
2017-12-27 18:46:05 +01:00
Tim Graham
1b27374b0d
[2.0.x] Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes
...
Backport of 038ea4f8593618cf0f408f15f756f2145de0d40e from master
2017-12-27 12:24:07 -05:00
Ran Benita
4e4619a2b8
[2.0.x] Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()).
...
Backport of c21f158295d92e35caf96436bfdbbff554fc5569 from master
2017-12-26 12:18:39 -05:00
Claude Paroz
830636df73
[2.0.x] Fixed #28594 -- Removed Jython docs and specific code
...
Thanks Andrey Martyanov for the report, and Tim Graham for the review.
Backport of 23b21db31bfcf2a065d485617412cca43a311a4c from master.
2017-12-23 10:28:29 +01:00
Zac-HD
45d89856fc
[2.0.x] Fixed #28878 -- Added python_requires in setup.py and a warning for older pips that don't recognize it.
...
Backport of 32ade4d73b50aed77efdb9dd7371c17f89061afc from master
2017-12-22 18:30:50 -05:00
Simon Charette
b40a1d774d
[2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
...
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.
This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.
Regression in 095c1aaa898bed40568009db836aa8434f1b983d.
Thanks Tim for the additional tests and edits, and Mariusz for the review.
Backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master
2017-12-22 16:09:49 -05:00
Berker Peksag
17987b5511
[2.0.x] Updated documented mysqlclient requirement to 1.3.7.
...
The test requirement was bumped in
2514e044a7fce58176c4e79eec298f3d8f70e89b.
Backport of ad9390bba27cb41da92f734db4d0e36ef3dfc58f from master
2017-12-21 19:13:32 -05:00
Tilmann Becker
c99ab335a1
[2.0.x] Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.
...
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of 01384ce36c3fddfbcc5af6e1108bdb8cd3e9389d from master
2017-12-20 20:56:57 -05:00
Tim Graham
6f86d8bc69
[2.0.x] Fixed #28941 -- Fixed crash in testserver command startup.
...
Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631.
Backport of e7b804c060a1f9fc089cf935801aa85b09db062b from master
2017-12-20 15:15:24 -05:00
Tim Graham
7c939ae6e4
[2.0.x] Refs #28932 -- Skipped the failing test for refs #28915 on Oracle.
2017-12-20 11:59:45 -05:00
Sergey Fedoseev
2679cdbea2
[2.0.x] Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone.
...
Backport of a7a36bb4d8ef7f03c2df9e3279c8f488ab3641d1 from master
2017-12-20 10:44:45 -05:00
Tim Graham
22fc7a6594
[2.0.x] Fixed #25277 -- Restored test dependency to the original python-memcached.
...
Backport of 770b9ea77fb5e39d616e62b54c06755e6d4f4d36 from master
2017-12-18 15:21:21 -10:00
weijunji
f0801119b7
[2.0.x] Fixed #28929 -- Corrected QUnit examples.
...
Backport of 1ef8b30abed6ecf0c28517001e7fd8a84e6e47d3 from master
2017-12-18 09:50:50 -10:00
Daniel Hepper
cc17f39c9c
[2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial.
...
Backport of 4dcd7723d59a666ab8e6dc29b0cc6eb7f2658ec1 from master
2017-12-18 09:13:42 -10:00
Sergey Fedoseev
0f7ca1e878
[2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
...
This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds
a test for the regression.
Backport of 6fd6d8383f48ea2fe4e058725fa30529a083e9a5 from master
2017-12-12 22:01:25 -10:00
Rodrigo Pinheiro Marques de Araújo
9f39f202ab
[2.0.x] Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields.
...
Backport of 30a389bd7795016d7f48bcda997e5dea5116f9bb from master
2017-12-12 21:40:05 -10:00
Sergey Fedoseev
ce26ec0163
[2.0.x] Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
...
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188.
Backport of da71e4bb086593b5ca76bf698358d27ead2cfed2 from master
2017-12-12 17:15:29 -10:00
Sergey Fedoseev
a5c6040447
[2.0.x] Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if a custom lookup class with lookup_name != None is registered as the exact lookup.
...
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188 and prerequisite
for refs #28896 .
Backport of 10bfa876be59feec24bb6a40fa11bece808ee405 from master
2017-12-12 17:15:16 -10:00
Morgan Wahl
5ca9cf47a7
[2.0.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
...
Forwardport of 35222035029863f95769e2e59beeeb953d125689 from stable/1.11.x
2017-12-08 14:00:50 -05:00
M Somerville
6dea1b18f3
[2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
...
Backport of 16bd4964dfd75759cb3ec0c786e1b5dcc8296fd9 from master
2017-12-07 12:20:22 -05:00
Sam Collins
66ccb3acb9
[2.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
...
Backport of 2d75e74e18def5de8b23f88f4257f262f18fe1a9 from master
2017-12-07 10:53:07 -05:00
Tim Graham
a06828cd2e
[2.0.x] Reverted "[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI."
...
This reverts commit a2aea4521d5e3cf8c76ef17e6edafee1c87bbf0a as it was
committed by mistake.
2017-12-07 09:06:09 -05:00
Mohammad Esmaeilbeygi
6b01ff80b2
[2.0.x] Fixed import in docs/ref/models/conditional-expressions.txt example.
...
Backport of 9d1d0e2b702fe1a3f979a95bc4583f1a1691c74f from master
2017-12-07 08:58:04 -05:00
Morgan Wahl
a2aea4521d
[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
2017-12-06 10:08:52 -05:00
Nick Pope
e9d3dbaf3e
[2.0.x] Added "Python 3 Only" trove classifier.
...
Backport of 1818d13de792df0c8efd129c4e0927360e873e73 from master
2017-12-06 09:25:48 -05:00
Tim Graham
e30674a1b7
[2.0.x] Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs.
...
Backport of 4114b441ee63e5e9196f20beee5cb071d1a21b3b from master
2017-12-06 09:24:01 -05:00
Tim Graham
be70d3b968
[2.0.x] Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
...
Backport of bae365e13c38f0e33b9f00453768de2aac6c727e from master
2017-12-06 09:16:52 -05:00
Mariusz Felisiak
741711f8a2
[2.0.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
...
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master
2017-12-05 22:34:56 +01:00
Mariusz Felisiak
73ab743866
[2.0.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
...
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
Backport of f79d9a322c6008e5fada1453aebfb56afc316cc8 from master
2017-12-05 22:34:47 +01:00
Claude Paroz
dd5d405e62
[2.0.x] Removed 'development' word in contributing docs
...
Backport of f2ec89691236b59f54f9cf41bccd79a5853af36c from master.
2017-12-05 18:44:06 +01:00
Nick Pope
c1d57615ac
[2.0.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
...
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-05 11:44:11 -05:00
Tim Graham
e71f4e8632
[2.0.x] Added stub release notes for 1.11.9.
...
Backport of dfeb19121b40cadd22b81c4b9d0373d617a695ed from master
2017-12-05 10:55:35 -05:00
Igor Starikov
b0d809ac6c
[2.0.x] Fixed typo in docs/ref/models/expressions.txt.
...
Backport of 3cc08f4b2ba6fe7931cf551676fa86a4966987e4 from master
2017-12-05 08:40:07 -05:00
David Szotten
48beda6660
[2.0.x] Fixed grammar in docs/releases/2.0.txt.
...
Backport of bee4c2baede18d8c8c0a29cd9affb18074dafd3a from master
2017-12-04 08:56:19 -05:00
Sergey Fedoseev
6a70b576b5
[2.0.x] Fixed typo in docs/topics/testing/advanced.txt.
...
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 11:55:12 +01:00
Tim Graham
7925351241
[2.0.x] Added stub release notes for 2.0.1.
...
Backport of 450c933fff2b180825dc2c7c1289380431479695 from master
2017-12-02 10:42:34 -05:00
Tim Graham
320b8c0e47
[2.0.x] Post-release version bump.
2017-12-02 10:23:20 -05:00
Tim Graham
b99221b8bb
[2.0.x] Bumped version for 2.0 release.
2.0
2017-12-02 10:03:18 -05:00
Tim Graham
dbdf5deab0
[2.0.x] Refs #28871 -- Fixed admin_views selenium test failure.
...
Backport of 7664fe275910bb31fcca2d54844bedde19fc4ed9 from master
2017-12-02 09:59:02 -05:00
Tim Graham
6c05e69221
[2.0.x] Added release dates for 2.0 and 1.11.8.
...
Backport of 335aad5d9170b3e3807ebd35a7dd74800df03588 from master
2017-12-02 08:56:06 -05:00
Tim Graham
63d425c679
[2.0.x] Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add another" inlines.
...
Also allowed autocomplete widgets to work on AdminSites with a name other
than 'admin'.
Backport of 81057645f61fe545f4f11737dbd3040043ed2436 from master
2017-12-01 22:18:12 -05:00
Simon Charette
31d318d19c
[2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.
...
Thanks Ramiro for the input and Tim for the review.
Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master
2017-12-01 22:15:48 -05:00
Tim Graham
50b35eef0b
[2.0.x] Used a separate admin site for autocomplete tests.
...
Backport of 474bd7a5d4b0b47eeedc03ad471ae9e630e95258 from master
2017-12-01 22:05:16 -05:00
Sergey Fedoseev
70da0420c2
[2.0.x] Fixed #28863 -- Fixed filter on annotation that contains Q.
...
Backport of cf12257db23fa248c89a3da3f718aa01a50ca659 from master
2017-12-01 21:49:01 -05:00