summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2019-12-02[3.0.x] Updated contrib translations from TransifexClaude Paroz
2019-12-02Fixed CVE-2019-19118 -- Required edit permissions on parent model for ↵Carlton Gibson
editable inlines in admin. Thank you to Shen Ying for reporting this issue.
2019-11-26[3.0.x] Fixed #31031 -- Fixed data loss in admin changelist view when ↵Baptiste Mispelon
formset's prefix contains regex special chars. Regression in b18650a2634890aa758abae2f33875daa13a9ba3. Backport of 52936efacec4df05df2d9872c09c3332335bf21b from master
2019-09-17[3.0.x] Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular ↵Min ho Kim
inline. "width" of DateTimeField inputs in admin tabular inline wasn't set correctly what caused displaying too small inputs with responsive CSS when timezone warning wasn't present. Backport of b1d6b35e146aea83b171c1b921178bbaae2795ed from master
2019-09-08Updated translation catalogsClaude Paroz
2019-08-28Adjusted subprocess.run() calls to use arg list, rather than string. Jon Dufresne
The Python docs recommend passing a sequence to subprocess.run() when possible. Doing so allows for automatic escaping and quoting of arguments. https://docs.python.org/3/library/subprocess.html#frequently-used-arguments > args is required for all calls and should be a string, or a sequence > of program arguments. Providing a sequence of arguments is generally > preferred, as it allows the module to take care of any required > escaping and quoting of arguments (e.g. to permit spaces in file > names). Also removed `shell=True` where unnecessary.
2019-08-27Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.Federico Jaramillo Martínez
2019-08-23Fixed #30507 -- Updated admin's jQuery to 3.4.1.Dulmandakh
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-08-22Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson
2019-08-15Refs #30449 -- Made RelatedOnlyFieldListFilter respect ModelAdmin.ordering.zeyneloz
2019-07-10Updated Select2 to version 4.0.7.Johannes Hoppe
2019-07-10Fixed #30543 -- Fixed checks of ModelAdmin.list_display for fields ↵Hasan Ramezani
accessible only via instance. Co-Authored-By: Andrew Simons <andrewsimons@bubblegroup.com>
2019-06-29Updated translations from TransifexClaude Paroz
Forward port of b3f7262e6e5d9e68e37fb21af89ed6656291faa3 from stable/2.2.x
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-21Bumped minimum ESLint version to 4.18.2.Markus Holtermann
2019-06-14Fixed #12952 -- Adjusted admin log change messages to use form labels ↵Sanyam Khurana
instead of field names.
2019-06-04Fixed #30520 -- Fixed crash of admin model inlines on custom fields without ↵Jones Ambrosi
labels.
2019-06-03Applied jQuery patch for CVE-2019-11358.Carlton Gibson
2019-06-03Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before ↵Carlton Gibson
rendering clickable link.
2019-05-17Fixed #30459 -- Delegated hide/show JS toggle to parent div.Claude Paroz
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2019-05-07Always remove required attribute in SelectFilter2.js (#11331)Ben Muschol
Fixes bug on browsers which do support the required attribute but not the :valid pseudo-selector
2019-04-26Fixed #30312 -- Relaxed admin check from django.contrib.sessions to ↵Aarni Koskela
SessionMiddleware subclasses.
2019-04-24Removed unnecessary assignments in various code.Jon Dufresne
2019-04-17Fixed #27755 -- Added ModelAdmin.get_inlines() hook.Hasan Ramezani
2019-04-01Fixed #30259 -- Fixed crash of admin views when properties don't have ↵Mariusz Felisiak
admin_order_field attribute.
2019-04-01Updated contrib translations from Transifex.Claude Paroz
Forwardport of 7090cbf54202c21978a93bdb76ba006780e1865c from 2.2.x.
2019-03-30Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit ↵Tim Graham
through model from being editable if the user only has the view permission.
2019-03-27Removed unused timeparse.js.Nick Pope
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27Simplified Date.prototype.getTwelveHours().Nick Pope
2019-03-27Removed unused Date.prototype.getHourMinute().Nick Pope
Unused since d2180a6bf3a72bad67bf4897b0ce2d94a6214fc4.
2019-03-27Removed unused Date.prototype.getHourMinuteSecond().Nick Pope
Unused since fa0653cd1d791a8bce835e8992cbeab6fd70d0e7.
2019-03-27Removed unused String.prototype.pad_left().Nick Pope
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27Removed unneeded compatibility shim for getComputedStyle().Nick Pope
Required for IE<9.
2019-03-25Fixed #27360 -- Added app or ModelAdmin details for AreadyRegistered exceptions.Hasan Ramezani
2019-03-24Fixed #30259 -- Added support for admin_order_field attribute on properties ↵Jani Tiainen
in ModelAdmin.list_display.
2019-03-14Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin ↵Herman S
checks allow subclasses.
2019-03-08Fixed #30243 -- Simplified ModelAdmin.render_change_form()'s has_file_field.btknu
2019-03-04Removed executable bit from static asset xregexp.js.Jon Dufresne
2019-03-01Fixed #30229 -- Removed polyfill from inlines.min.js.Dan Wilson
find() is only called on jQuery objects, so the polyfill is necessary.
2019-02-28Fixed #30221 -- Made label suffix of admin's read-only fields translatable.Etienne Chové
2019-02-28Fixed #30218 -- Fixed size of admin changelist's search button.Johannes Hoppe
2019-02-27Refs #29523 -- Updated admin's collapse.min.js.Tim Graham
Omitted in ba83378a7762c51be235b521aa5b48233d6c6c82.
2019-02-27Removed AutocompleteJsonView.paginator_class.Johannes Hoppe
Unused since its introduction in 94cd8efc50c717cd00244f4b2233f971a53b205e.
2019-02-25Fixed #30208 -- Fixed login header height and alignment in the largest ↵Matthias Kestenholz
breakpoint.
2019-02-07Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-01-17Refs #27991 -- Made obj a required argument of ↵Tim Graham
InlineModelAdmin.has_add_permission(). Per deprecation timeline.
2019-01-17Refs #21221 -- Removed staticfiles and admin_static template tag libraries.Tim Graham
Per deprecation timeline.
2019-01-17Refs #17198 -- Detected existing total ordering in admin changelist.Simon Charette
Appending pk is not necessary when a subset of the ordering expressions is contained in a non-nullable unique contraint. Related field ordering through lookups and related ordering introspection is omitted for simplicitly purpose.