Abhinav Patil
|
bf01994a5c
|
Fixed #29804 -- Added 'did you mean' suggestions for unsupported lookup error.
|
2018-10-01 19:03:10 -04:00 |
Sergey Fedoseev
|
e9defb3f6e
|
Simplified contrib.admin.utils.quote().
|
2018-10-01 09:11:53 -04:00 |
Claude Paroz
|
fc3a463048
|
Fixed #29767 -- Made date-related casts work on SQLite
Thanks Rémy Hubscher for the report and Tim Graham and Simon Charette for the reviews.
|
2018-10-01 13:27:30 +02:00 |
Tim Graham
|
a7284cc0c3
|
Fixed #29809 -- Fixed a crash when a "view only" user POSTs to the admin user change form.
|
2018-10-01 10:09:50 +02:00 |
Carlton Gibson
|
bf39978a53
|
Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" users.
Thanks Claude Paroz & Tim Graham for collaborating on the patch.
|
2018-10-01 10:05:01 +02:00 |
Claude Paroz
|
033d842e84
|
Updated translations from Transifex
Forward port of d5ed08263b from master.
|
2018-09-29 17:11:49 +02:00 |
Sergey Fedoseev
|
8ef8bc0f64
|
Refs #28909 -- Simplifed code using unpacking generalizations.
|
2018-09-28 09:57:12 -04:00 |
Paweł Kołodziej
|
05c578bc1f
|
Fixed #29796 -- Added system check for STATICFILES_DIRS prefix ending with a slash.
|
2018-09-27 19:49:37 -04:00 |
Marten Kenbeek
|
40c8ffad72
|
Fixed #29768 -- Improved error message when an AppConfig has a typo in INSTALLED_APPS.
|
2018-09-26 16:12:21 -04:00 |
Ramon Saraiva
|
2349cbd909
|
Fixed #29782 -- Added better error message when filtering queryset with AnonymousUser.
|
2018-09-26 15:36:19 -04:00 |
Matthew Power
|
18098d261f
|
Fixed #29673 -- Reset the URLconf at the end of each request.
Co-authored-by: Ross Thorne <rmwthorne@googlemail.com>
|
2018-09-26 15:35:24 -04:00 |
Sergey Fedoseev
|
91841c77cd
|
Fixed loaddata error message when uncompressed fixture has a dot in its name.
|
2018-09-26 15:30:15 -04:00 |
Stephen James
|
e40e7026ca
|
Fixed #29683 -- Added view permission to docs.
|
2018-09-26 15:06:43 -04:00 |
Mariusz Felisiak
|
024abe5b82
|
Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the same name on Oracle 12.1.
Regression in 0899d583bd .
Thanks Tim Graham for the review and Jani Tiainen for help.
|
2018-09-26 20:18:48 +02:00 |
Jon Dufresne
|
8d87350356
|
Refs #27795 -- Removed force_bytes() usage in contrib/auth/handlers/modwsgi.py.
|
2018-09-26 11:16:59 -04:00 |
Mariusz Felisiak
|
90d93a1b42
|
Made DatabaseWrapper.oracle_version() return a full version tuple.
|
2018-09-26 08:51:27 +02:00 |
Jon Dufresne
|
82f286cf6f
|
Refs #29784 -- Switched to https:// links where available.
|
2018-09-26 08:48:47 +02:00 |
Oleg
|
d1d5c97bc2
|
Fixed #29778 -- Fixed quoting of unique index names.
Regression in 3b429c9673 .
|
2018-09-25 16:00:20 -04:00 |
Sergey Fedoseev
|
553c24018e
|
Removed unneeded list() calls in list.extend() argument.
|
2018-09-25 11:30:43 -04:00 |
Jon Dufresne
|
bb81c22d90
|
Refs #27795 -- Removed force_bytes() usage in utils/_os.py.
|
2018-09-25 11:27:36 -04:00 |
Jon Dufresne
|
8c3e0eb1c1
|
Normalized spelling of "lowercase" and "lowercased".
|
2018-09-25 10:30:18 -04:00 |
Jon Dufresne
|
abeed587b1
|
Refs #27795 -- Removed force_bytes() usage in db/backends/base/schema.py.
|
2018-09-25 09:54:06 -04:00 |
Jon Dufresne
|
1d65ddd9c3
|
Refs #27795 -- Removed force_bytes() usage in db/backends/utils.py.
|
2018-09-25 09:53:13 -04:00 |
Jon Dufresne
|
ad9a28ee38
|
Refs #29784 -- Normalized Python docs links to omit the version.
|
2018-09-25 10:19:42 +02:00 |
Tim Graham
|
495abe0095
|
Refs #29198 -- Fixed migrate --plan crash if RunSQL uses a list or tuple.
Also fixed test failures if sqlparse isn't installed.
|
2018-09-19 17:13:39 -04:00 |
Javier Buzzi
|
a0d63b02c3
|
Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__().
|
2018-09-19 13:51:01 -04:00 |
Tom Forbes
|
9cbdb44014
|
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
|
2018-09-18 16:14:44 -04:00 |
Tim Graham
|
0c20850774
|
Removed unused admin_url and root_path context variables in admindocs.
Unused since 915ef79b08 and
aaf77c1676 .
|
2018-09-17 15:41:17 -04:00 |
Claude Paroz
|
f5e347a640
|
Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
|
2018-09-17 12:03:52 -04:00 |
Sergey Fedoseev
|
4441778c26
|
Simplified ListMixin.sort().
|
2018-09-17 10:54:37 -04:00 |
Mariusz Felisiak
|
da92ec7962
|
Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id with cx_Oracle 7.
|
2018-09-16 12:45:34 +02:00 |
Nick Pope
|
f87f9c5f63
|
Simplified introspection methods for PostgreSQL.
|
2018-09-14 14:34:43 -04:00 |
Adam Johnson
|
245c36d7b6
|
Fixed #29642 -- Added check for arguments of custom error handler views.
|
2018-09-14 11:59:56 -04:00 |
Simon Charette
|
a4495f4b98
|
Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.
|
2018-09-14 09:09:17 -04:00 |
Ramiro Morales
|
1b1f64ee5a
|
Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
Thanks Ramiro Morales for contributing to the patch.
|
2018-09-13 12:29:48 -04:00 |
Andrey Kostakov
|
c52ecbda61
|
Removed shadowing of built-in hash() function.
|
2018-09-13 10:04:36 -04:00 |
Tim Graham
|
32fbccab40
|
Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore.
Regression in 29150d5da8 .
|
2018-09-11 12:51:11 -04:00 |
Nick Pope
|
a4d8e412e0
|
Refs #29560 -- Fixed typo in django/core/management/base.py.
|
2018-09-11 12:47:17 -04:00 |
Tom Carrick
|
a43cfc23d4
|
Fixed #29746 -- Fixed misleading FlatpageForm URL help text if APPEND_SLASH is disabled.
|
2018-09-11 12:15:22 -04:00 |
Hasan Ramezani
|
5195b99e2c
|
Fixed #29560 -- Added --force-color management command option.
|
2018-09-11 11:15:42 -04:00 |
Srinivas Reddy Thatiparthy
|
34d6bceec4
|
Fixed #29500 -- Fixed SQLite function crashes on null values.
Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
|
2018-09-10 15:08:55 -04:00 |
Nick Pope
|
76dfa834e7
|
Combined two identical SQLite functions.
|
2018-09-10 14:41:58 -04:00 |
Nick Pope
|
af7a758dcb
|
Made some date parsing in SQLite functions more DRY.
|
2018-09-10 14:41:20 -04:00 |
Krzysztof Gogolewski
|
db926a0048
|
Fixed #29243 -- Improved efficiency of migration graph algorithm.
|
2018-09-10 09:57:31 -04:00 |
Michal Čihař
|
22e8ab0286
|
Fixed #29728 -- Prevented session resaving if CSRF cookie is unchanged.
|
2018-09-08 11:46:13 -04:00 |
Alexander Holmbäck
|
f315d0423a
|
Fixed #29727 -- Made nonexistent joins in F() raise FieldError.
Regression in 2162f0983d .
|
2018-09-08 09:40:33 -04:00 |
Nick Pope
|
570402ffd7
|
Refs #29713 -- Improved error message from translation system check.
|
2018-09-06 13:49:25 +02:00 |
David
|
5db8d617c0
|
Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format.
|
2018-09-03 10:43:55 +02:00 |
Jon Dufresne
|
cc79c7ee63
|
Refs #27795 -- Removed force_text() in Model._get_FIELD_display().
|
2018-08-31 10:59:57 -04:00 |
Tim Graham
|
fd8a7a5313
|
Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.
* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
|
2018-08-30 11:22:50 +02:00 |
Sergey Fedoseev
|
54b331451c
|
Refs #29689 -- Moved FilePathField choices sorting outside the loop.
|
2018-08-29 06:19:32 -04:00 |
Mariusz Felisiak
|
39461a83c3
|
Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().
Regression in 0b66c3b442 .
|
2018-08-29 10:00:15 +02:00 |
Jon Dufresne
|
ee184e13cb
|
Refs #27795 -- Removed force_bytes() usage in django/utils/cache.py.
|
2018-08-28 08:03:23 -04:00 |
Jon Dufresne
|
5311a36da5
|
Refs #29654 -- Replaced three dots with ellipsis in DB creation output strings.
|
2018-08-28 07:56:34 -04:00 |
Jon Dufresne
|
90f3ef332b
|
Refs #27795 -- Removed force_bytes()/smart_text() from model fields.
|
2018-08-28 07:56:18 -04:00 |
Nick Pope
|
ed4bfacb3c
|
Fixed #29703 -- Deprecated QuerySetPaginator alias.
Unused since 4406d283e1 .
|
2018-08-27 16:23:43 -04:00 |
Dan Palmer
|
e181666973
|
Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON.
|
2018-08-25 10:57:05 -04:00 |
priyanshsaxena
|
83b04d4f88
|
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
|
2018-08-23 11:52:09 -04:00 |
Matthijs Kooijman
|
08f360355a
|
Fixed #29704 -- Fixed manage.py test --testrunner if it isn't followed by an equals sign.
|
2018-08-23 10:12:03 -04:00 |
Alejandro Dubrovsky
|
108c04f572
|
Fixed #29570 -- Added check that MEDIA_URL isn't in STATIC_URL.
|
2018-08-23 10:10:39 -04:00 |
winkidney
|
c69d40f943
|
Fixed #29705 -- Fixed ImageField RuntimeError crash for WebP files.
|
2018-08-23 09:04:25 -04:00 |
Simon Willison
|
586a9dc429
|
Fixed #26352 -- Made system check allow ManyToManyField to target the same model if through_fields differs.
|
2018-08-22 12:07:29 -04:00 |
Franck Michea
|
7def8bed58
|
Fixed #29698 -- Fixed Field._check_choices() crash on invalid choices.
|
2018-08-22 09:15:19 -04:00 |
Claude Paroz
|
50b8493581
|
Refs #29654 -- Replaced three dots with ellipsis character in output strings.
|
2018-08-22 09:13:58 -04:00 |
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
|
233c70f047
|
Fixed #29658 -- Registered model lookups in tests with a context manager.
|
2018-08-21 12:17:46 -04:00 |
Claude Paroz
|
201017df30
|
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
|
2018-08-21 17:46:45 +02:00 |
Jon Dufresne
|
ef87b38ef7
|
Fixed #29696 -- Prevented BaseModelFormSet.initial_form_count()'s from treating data={} as unbound.
|
2018-08-21 10:02:03 -04:00 |
Federico Bond
|
a0ca4b5694
|
Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and FilePathField with os.scandir().
|
2018-08-20 17:58:00 -04:00 |
Rodrigo
|
371ece2f06
|
Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting.
|
2018-08-20 17:57:46 -04:00 |
Mariusz Felisiak
|
ac29fec111
|
Removed unused function argument from Window.as_sql().
Unused since its introduction in d549b88050 .
|
2018-08-20 22:16:27 +02:00 |
Hasan Ramezani
|
49b679371f
|
Fixed #29236 -- Fixed diffsettings crash if using settings.configure().
|
2018-08-20 12:59:27 -04:00 |
Ming Qin
|
cfb4845f06
|
Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches.
|
2018-08-20 12:01:42 -04:00 |
Tim Graham
|
d311124be5
|
Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
|
2018-08-20 11:14:20 -04:00 |
Taha Jahangir
|
0e7a9525ba
|
Fixed #29690 -- Fixed aligned <ul> positioning for RTL languages in admin.
|
2018-08-20 10:20:30 -04:00 |
Jon Dufresne
|
dc0868d414
|
Removed redundant 'model' argument in admin checks.
|
2018-08-20 09:11:42 -04:00 |
Sigurd Ljødal
|
3e09b37f80
|
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
|
2018-08-18 13:09:15 -04:00 |
mackong
|
c832885a3e
|
Fixed #29426 -- Made UUID inputs in the admin match the width of a UUID.
|
2018-08-18 10:16:22 -04:00 |
Tim Graham
|
838d6dcb86
|
Refs #29426 -- Made UUIDField render values with dashes.
|
2018-08-18 08:20:21 -04:00 |
Alexander Todorov
|
53ebd4cb13
|
Fixed #29686 -- Made UserAdmin.user_change_password() pass user to has_change_permission().
|
2018-08-17 17:43:00 -04:00 |
Kamil
|
3d4080f19c
|
Fixed #29024 -- Made TestContextDecorator call disable() if setUp() raises an exception.
|
2018-08-17 16:30:27 -04:00 |
oliver
|
abd0ad7681
|
Fixed #29626, #29584 -- Added optimized versions of get_many() and delete_many() for the db cache backend.
|
2018-08-17 15:13:09 -04:00 |
Tom Forbes
|
c02d473781
|
Fixed #29612 -- Added GenericRelation prefetch_related() cache invalidation.
|
2018-08-17 14:58:45 -04:00 |
Jon Dufresne
|
bf17f5e884
|
Refs #29015 -- Added database name to PostgreSQL database name too long exception.
|
2018-08-17 12:43:56 -04:00 |
Jon Dufresne
|
09ee3b6fe3
|
Fixed #29663 -- Made admin change view redirect to changelist with view permission.
|
2018-08-17 11:13:06 -04:00 |
Jon Dufresne
|
57f16655cd
|
Added ModelAdmin._response_post_save() to avoid code duplication.
|
2018-08-17 10:51:57 -04:00 |
Jon Dufresne
|
cd790ed1a6
|
Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
|
2018-08-16 09:49:06 -04:00 |
Tom Forbes
|
a3df7574f9
|
Fixed #29644 -- Made SearchQuery.__str__() reflect negation and grouping.
|
2018-08-15 16:47:23 -04:00 |
Marnanel Thurman
|
7cc52250f0
|
Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
|
2018-08-15 10:27:45 -04:00 |
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
|
7eb556a6c2
|
Removed unused enumerate in django/db/models/sql/datastructures.py.
|
2018-08-13 18:41:24 -04:00 |
Ramiro Morales
|
b5c7cb4d33
|
Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericRelation is declared on an abstract base model.
Regression in 4ab027b944 .
Thanks Lauri Kainulainen for the report.
|
2018-08-10 12:17:26 -04:00 |
Clément Mangin
|
64e1a271f5
|
Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8 .
|
2018-08-10 11:20:43 -04:00 |
Tim Graham
|
730173d1c5
|
Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
|
2018-08-08 06:24:52 -04:00 |
Mariusz Felisiak
|
9fee229874
|
Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25a .
|
2018-08-08 08:51:20 +02:00 |
Josh Schneier
|
3767c7ff39
|
Fixed #29244 -- Prevented Paginator.count() from silencing TypeError and AttributeError.
|
2018-08-07 17:41:18 -04:00 |
Josh Schneier
|
f1bf069ec1
|
Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound methods.
|
2018-08-07 17:37:35 -04:00 |
Josh Schneier
|
756b859576
|
Renamed django.utils.inspect.func_has_no_args() to method_has_no_args().
|
2018-08-07 17:37:35 -04:00 |
Raphael Michel
|
155b31d4ec
|
Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation functions.
|
2018-08-07 16:47:54 -04:00 |
Vlastimil Zíma
|
a9f5652113
|
Fixed #28529 -- Fixed VariableDoesNotExist warnings in admin templates.
|
2018-08-06 17:03:06 -04:00 |
Josh Schneier
|
8b43e9b1af
|
Fixed #29616 -- Fixed createsuperuser for user models that don't have a password field.
|
2018-08-05 14:26:03 -04:00 |
Josh Schneier
|
ec9d0123e0
|
Made createsuperuser code more DRY.
|
2018-08-04 09:38:01 -04:00 |