summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2013-03-25Fixed #20121 -- Removed LogEntry.get_admin_url's hard-coded path.Adam Wentz
Updated LogEntry.get_admin_url to use 'reverse' instead of a hard-coded path.
2013-03-25Moved removeChildren to core.jsAndrew Jesaitis
The function removeChildren is a general utility that other functions might want to use. Fixes #4120. Thanks arvin for the initial patch.
2013-03-25Moved cancelEventPropagation into core.jsAndrew Jesaitis
The cancelEventPropagation function is a general utility function that can be reused by other widgets. Refs #4120.
2013-03-25Removed quickElement from calendar.jsAndrew Jesaitis
The function quickElement in calendar.js is a duplicate of the quickElement function in core.js. Refs #4120.
2013-03-22Fixed #16350 -- Forced capitalization in template.Aymeric Augustin
This improves rendering in some foreign languages.
2013-03-20Fixed #19972 -- Fixed overflow issue in admin changelist pages.Florian Apolloner
Thanks to loic84 for the report and patch.
2013-03-19Merge pull request #931 from ↵Preston Holmes
catalanojuan/fix-admin-log-dependency-on-user-id-field-20088 Fixed #20088 -- Changed get_admin_log not to depend on User id field
2013-03-19Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi
Thanks jrothenbuhler for draft patch, Konark Modi for updates.
2013-03-19Fixed #20088 -- Changed get_admin_log not to depend on User id fieldJuan Catalano
Before this change, the get_admin_log method would expect User model's FK to be named `id`. When changing that FK name, admin/index.html rendering would fail. This includes: * Changed the use of id for the use of pk property. * Added a regression test that fails without the patch. This commit refs #20088.
2013-03-18Fixed #19327 -- Added handling of double login attempts in admin.Deric Crago
Thanks to Krzysztof Jurewicz for initial patch and adupin for tests.
2013-03-17Fixed #19550 -- Made the filtered select widget wider in the admin.Aymeric Augustin
Thanks Claude and Julien for the review.
2013-03-15Fixed #20055 -- Add url, email, and number input types to admin CSS.Baptiste Mispelon
2013-03-11Switched the admin to use @transaction.atomic.Aymeric Augustin
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-06Fixed #19951 -- Admin: Invalid model PK values shouldn't cause 500 status.Igor Támara
Avoid ValueError in admin when passing a string as PK for an inherited model with an integer PK field. Thanks ikks for the patch. See also #11191.
2013-03-04Fixed #6585 -- Admin relationship widgets: Respect ordering defined by ↵Juan Pedro Fisanotti
target model's ModelAdmin. Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos Matías de la Torre for the fix.
2013-03-04Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete ↵Javier Mansilla
protected FKs. Thanks rafadev for the report and Javier Mansilla for the fix.
2013-03-02Fixed #19177 -- Better layout for admin login form field labels.Pedro Mourelle
Thanks goes to void for the comprehensive report, to Pedro Mourelle for the fix and to Bryan Veloso, Łukasz Rekucki and Claude Paroz for the review. This fix includes the following changes: * Modified layout to top-aligned labels. * Added 'air' for inputs (the padding was really needed there.). It adjust good to zoom in/out. * Removed float attributes from label and inputs in login form. * Removed useless text-align property.
2013-02-26Merged contrib translations from 1.5 branchClaude Paroz
2013-02-25Fixed #19854 -- Turn Django's own Selenium tests off by default.Carl Meyer
2013-02-24Add column-<field_name> classes to the admin listDiederik van der Boor
This simplifies CSS styling to set column widths.
2013-02-24Loaded cycle and firstof from future in built-in templates. Refs #17906.Aymeric Augustin
This was missing from f49e9a517f2fdc1d9ed7ac841ace77636cbd6747.
2013-02-24Fixed #11295: If ModelAdmin.queryset returns a filtered QS don't require a ↵Wiktor Kolodziej
2nd count call Original patch rewritten, added tests and get_filters_params method for ChangeList class. Thanks Alex for the report.
2013-02-23Removed superfluous cookie check from auth login.Preston Holmes
This is ensured through the CSRF protection of the view
2013-02-23Merge pull request #778 from viciu/19609Honza Král
Fixed #19609: admin Inlines doesn't display help_text for readonly fields
2013-02-23Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletesHonza Kral
2013-02-23Fixed #19609: admin Inlines doesn't display help_text for readonly fieldsWiktor Kolodziej
Refactoring: field was renamed to field_name, since flatten_fieldsets returns field name, not field. Original patch from Marc Aymerich Gubern
2013-02-23Added test runner option to skip Selenium tests (#19854).Zbigniew Siciarz
2013-02-23Fixed #19758 -- Avoided leaking email existence through the password reset form.Horst Gutmann
2013-02-20Made a couple of selenium tests wait for page loadedAnssi Kääriäinen
The admin_widgets tests were issuing click() to the browser but didn't wait for the effects of those clicks. This caused the resulting request to be processed concurrently with the test case. When using in-memory SQLite this caused weird failures. Also added wait_page_loaded() to admin selenium tests for code reuse. Fixed #19856
2013-02-20Fixed #19598 -- Fixed jQuery tagName retrievingClaude Paroz
Thanks rj at rudiculous.net for the report.
2013-02-20Replaced the obsolete toggle event handling JS functionClaude Paroz
The toggle(func1, func2) event handling function has been removed in jQuery 1.9.
2013-02-20Fixed #14571 -- Updated embedded jQuery from 1.4.2 to 1.9.1Claude Paroz
Thanks dArignac for the initial patch.
2013-02-19Checked object permissions on admin history view.Carl Meyer
This is a security fix. Disclosure and advisory coming shortly. Patch by Russell Keith-Magee.
2013-02-16Fixed #17260 -- Added time zone aware aggregation and lookups.Aymeric Augustin
Thanks Carl Meyer for the review. Squashed commit of the following: commit 4f290bdb60b7d8534abf4ca901bd0844612dcbda Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 21:21:30 2013 +0100 Used '0:00' instead of 'UTC' which doesn't always exist in Oracle. Thanks Ian Kelly for the suggestion. commit 01b6366f3ce67d57a58ca8f25e5be77911748638 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 13:38:43 2013 +0100 Made tzname a parameter of datetime_extract/trunc_sql. This is required to work around a bug in Oracle. commit 924a144ef8a80ba4daeeafbe9efaa826566e9d02 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 14:47:44 2013 +0100 Added support for parameters in SELECT clauses. commit b4351d2890cd1090d3ff2d203fe148937324c935 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 22:30:22 2013 +0100 Documented backwards incompatibilities in the two previous commits. commit 91ef84713c81bd455f559dacf790e586d08cacb9 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:42:31 2013 +0100 Used QuerySet.datetimes for the admin's date_hierarchy. commit 0d0de288a5210fa106cd4350961eb2006535cc5c Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:29:38 2013 +0100 Used QuerySet.datetimes in date-based generic views. commit 9c0859ff7c0b00734afe7fc15609d43d83215072 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:25 2013 +0100 Implemented QuerySet.datetimes on Oracle. commit 68ab511a4ffbd2b811bf5da174d47e4dd90f28fc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:14 2013 +0100 Implemented QuerySet.datetimes on MySQL. commit 22d52681d347a8cdf568dc31ed032cbc61d049ef Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:42:29 2013 +0100 Implemented QuerySet.datetimes on SQLite. commit f6800fd04c93722b45f9236976389e0b2fe436f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:03 2013 +0100 Implemented QuerySet.datetimes on PostgreSQL. commit 0c829c23f4cf4d6804cadcc93032dd4c26b8c65e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:41:08 2013 +0100 Added datetime-handling infrastructure in the ORM layers. commit 104d82a7778cf3f0f5d03dfa53709c26df45daad Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 10:05:55 2013 +0100 Updated null_queries tests to avoid clashing with the __second lookup. commit c01bbb32358201b3ac8cb4291ef87b7612a2b8e6 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 23:07:41 2013 +0100 Updated tests of .dates(). Replaced .dates() by .datetimes() for DateTimeFields. Replaced dates with datetimes in the expected output for DateFields. commit 50fb7a52462fecf0127b38e7f3df322aeb287c43 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:40:09 2013 +0100 Updated and added tests for QuerySet.datetimes. commit a8451a5004c437190e264667b1e6fb8acc3c1eeb Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 22:34:46 2013 +0100 Documented the new time lookups and updated the date lookups. commit 29413eab2bd1d5e004598900c0dadc0521bbf4d3 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 16:15:49 2013 +0100 Documented QuerySet.datetimes and updated QuerySet.dates.
2013-02-05Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.Simon Charette
2013-02-04Fixed #17061 -- Factored out importing object from a dotted pathClaude Paroz
Thanks Carl Meyer for the report.
2013-02-02Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks ↵Julien Phalip
to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback.
2013-02-02Fixed #19445 -- Skip admin fieldsets validation when the ↵Nick Sandford
ModelAdmin.get_form() method is overridden.
2013-02-01Merge pull request #334 from dlo/tickets/18755Aymeric Augustin
Fixed #18755 -- Wrapped long admin forms fields labels.
2013-01-25Moved has_changed logic from widget to form fieldClaude Paroz
Refs #16612. Thanks Aymeric Augustin for the suggestion.
2013-01-21Fixed #18051 -- Allowed admin fieldsets to contain listsClaude Paroz
Thanks Ricardo di Virgilio for the report, Mateus Gondim for the patch and Nick Sandford for the review.
2012-12-30Added further flexibility to ModelAdmin for controlling post-save redirections.Julien Phalip
Refs #19505.
2012-12-29Removed interpolation of post_url_continue in the admin.Aymeric Augustin
2012-12-24Fixed #19505 -- A more flexible implementation for customizable admin ↵Julien Phalip
redirect urls. Work by Julien Phalip. Refs #8001, #18310, #19505. See also 0b908b92a2ca4fb74a103e96bb75c53c05d0a428.
2012-12-24Made admin generated changelist URLs independent of dict orderingLuke Plant
2012-12-16Fixed #19469 -- Removed opts.get_ordered_objects() and related codeAnssi Kääriäinen
The code was dead-code since 2006.
2012-12-15Fixed #19368 -- Ensured that login error messages adapt to changes in the ↵Russell Keith-Magee
User model. Thanks to un33k for the report.
2012-12-08Fixed #19439 -- Removed unused template tag library in change_password.htmlClaude Paroz
Thanks ppetrid for the report.
2012-12-08Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overridesClaude Paroz
Thanks joebuyer at manycycles.com for the report and Simon Charette for the review.