1
0
mirror of https://github.com/django/django.git synced 2025-06-27 06:19:17 +00:00

15890 Commits

Author SHA1 Message Date
Carlton Gibson
5b73317181 Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields. 2018-06-18 15:36:20 -04:00
Carlton Gibson
958c7b301e Fixed #29419 -- Allowed permissioning of admin actions. 2018-06-18 15:07:29 -04:00
Mariusz Felisiak
6dd4edb1b4
Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to primary key.
Thanks Tim Graham for the review.
2018-06-17 08:51:02 +02:00
humbertotm
e95008f241 Fixed #29152 -- Allowed passing kwargs to ArgumentParser initialization in management commands. 2018-06-16 15:54:59 -04:00
oliver
78972af367 Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots. 2018-06-16 15:18:57 -04:00
Claude Paroz
998d774195 Fixed #29492 -- Improved compilemessages speed 2018-06-16 11:52:02 +02:00
Paulo
553617e613 Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
Thanks Matthew Frazier for the report and fix.
2018-06-15 21:54:22 -04:00
Jeff
fcc4e251db Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after RenameField.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
2018-06-15 11:51:09 -04:00
Henk Kahlfuß
3eb9127678 Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking. 2018-06-15 10:31:08 -04:00
Tim Graham
ec2c9c3531 Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering. 2018-06-14 21:04:43 -04:00
Tim Graham
0d8e3e608e Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering. 2018-06-14 14:22:04 -04:00
Claude Paroz
a77f21880d Fixed #24384 -- Allowed compilemessages to continue running after nonfatal errors.
Thanks Aymeric Augustin for the report and Carlton Gibson and Tim Graham for
the reviews.
2018-06-13 21:09:02 +02:00
Carlton Gibson
b30f9b131c Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-06-13 14:49:28 -04:00
Tim Graham
9e4f26bb40
Fixed #29483 -- Confirmed support for GDAL 2.3. 2018-06-12 13:34:58 -04:00
Jon Dufresne
8dcd43ce06 Restored django.test.utils.patch_logger() for backwards compatibility.
Added back after 607970f31cc07c317f2ebb684c8f3ccc36a95b3e.
2018-06-12 11:33:16 -04:00
Bartosz Grabski
2bc014750a Fixed #29452 -- Fixed makemessages setting charset of .pot files. 2018-06-11 21:34:13 -04:00
Arthur Silva
bc1435551c Fixed #29464 -- Silenced post-process messages in collectstatic's default verbosity. 2018-06-11 20:21:58 -04:00
Tim Graham
860903b261
Dropped support for GDAL 1.9 and 1.10. 2018-06-11 08:33:09 -04:00
Tim Graham
7a266e25be Fixed 'invalid escape sequence' warning in GEOSGeometryBase.from_ewkt(). 2018-06-09 09:27:33 +02:00
Claude Paroz
f3836144db Fixed #29484 -- Removed the need to specify SPATIALITE_LIBRARY_PATH with Spatialite 4.2+.
Thanks Tim Graham for the review.
2018-06-09 09:24:20 +02:00
Claude Paroz
56611a96df Refactored naturaltime to use a class-based formatter 2018-06-08 18:00:17 +02:00
Tim Graham
236bcfea42 Fixed #29474 -- Simplified BaseInlineFormset.save_new(). 2018-06-07 21:14:19 -04:00
Josh Schneier
98e8c0293b Removed unused HttpRequest._post_parse_error attribute.
Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593.
2018-06-07 18:51:33 -04:00
Claude Paroz
ce3351b950 Fixed #29301 -- Added custom help formatter to BaseCommand class
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
2018-06-06 19:16:10 +02:00
Tim Graham
e9bd1a3e12 Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+. 2018-06-06 11:40:24 -04:00
Claude Paroz
1fac974067 Refs #29353 -- Removed duplicated logic in StaticFilesHandler.get_response().
Thanks Sergey Fursov for spotting the issue.
2018-06-05 11:58:38 +02:00
Claude Paroz
bec651a427 Fixed #10827 -- Ensured ContentTypes are created before permission creation. 2018-06-03 22:19:04 -04:00
humbertotm
747ff7a30b Fixed #29385 -- Made admindocs ModelDetailView show model properties.
Original patch by bkaluza. Tests and docs by humbertotm.
2018-06-03 21:00:28 -04:00
Adam Donaghy
b18650a263 Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.
2018-06-01 10:41:05 -04:00
Tim Graham
f185d929fa
Fixed #29460 -- Added support for GEOS 3.6. 2018-05-31 11:35:59 -04:00
Sara Heins
5008d59a2a Fixed #28892 -- Allowed admin navbar height to expand if needed. 2018-05-29 21:52:51 -04:00
Tim Graham
c03e41712b
Refs #28748 -- Reallowed lazy model field choices.
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.
2018-05-29 21:43:38 -04:00
Dohyeon Kim
f1f4aeb22e Fixed #28044 -- Unified the logic for createsuperuser's interactive and --noinput modes. 2018-05-29 08:41:32 -04:00
Wang Dongxiao
0914a2003b Added 'caches' to django.core.cache.__all__. 2018-05-28 09:14:46 -04:00
Paulo
6104875a2c Fixed #29230 -- Fixed nested prefetches that clash with descriptors. 2018-05-27 21:45:51 -04:00
Mariusz Felisiak
4ab1f559e8 Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
Regression in 1d070d027c218285b66c0bde8079034b33a87f11.
2018-05-27 18:25:19 -04:00
Daniel Hepper
4e016d1372 Removed obsolete BaseHandler attributes.
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
2018-05-27 11:21:27 -04:00
Tim Graham
5cc81cd9eb Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to
a regression and performance concerns.
2018-05-26 21:06:58 -04:00
ryabtsev
b4fd9b5ad4 Fixed #29432 -- Allowed passing an integer to the slice template filter. 2018-05-26 20:56:51 -04:00
Xaroth Brook
39283c8edb Fixed #29415 -- Fixed detection of custom URL converters in included patterns. 2018-05-26 20:13:48 -04:00
Markus Holtermann
e01fa015c0 Refs #27098 -- Removed unused introspection queries.
Unused since 578711c31052625cc87319cf1c46662c14d75ce9.

Thanks Ian Foote for finding this.
2018-05-26 16:29:02 +02:00
Ryan Rubin
a8d12bc280 Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7.
2018-05-25 11:11:46 -04:00
Ramiro Morales
f40e71a957 Fixed #29417 -- Corrected two admin page titles for view-only users. 2018-05-23 11:02:37 -04:00
Bogdan Mateescu
392963e8e4 Fixed #29421 -- Improved Romanian locale formats 2018-05-20 17:12:13 +02:00
Paulo Alvarado
ffb72a95bc Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-05-18 19:50:58 -04:00
bakabiko
a7bc1aea03 Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+. 2018-05-18 19:37:36 -04:00
Tim Graham
9792af3648 Increased the default PBKDF2 iterations for Django 2.2. 2018-05-17 11:05:45 -04:00
Tim Graham
b9dd8512f2 Advanced deprecation warnings for Django 2.2. 2018-05-17 11:05:45 -04:00
Tim Graham
63de263e03 Bumped version; master is now 2.2 pre-alpha. 2018-05-17 09:37:06 -04:00
Claude Paroz
77f6340d3b Updated translation catalogs 2018-05-17 12:09:40 +02:00