summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2015-01-12Avoided exceptions in a non-critical check in the admin.Aymeric Augustin
This change makes it possible to configure several Django template engines in a project and still use the admin. On the flip side the check is silently skipped when no Django template engine is configured.
2015-01-12Deprecated passing a Context to a generic Template.render.Aymeric Augustin
A deprecation path is required because the return type of django.template.loader.get_template changed during the multiple template engines refactor. test_csrf_token_in_404 was incorrect: it tested the case when the hardcoded template was rendered, and that template doesn't depend on the CSRF token. This commit makes it test the case when a custom template is rendered.
2015-01-12Fixed #24089 -- Added check for when ModelAdmin.fieldsets[1]['fields'] isn't ↵Muthiah Annamalai
a list/tuple.
2015-01-12Made Django's templates get their own LANGUAGE_* variables.Collin Anderson
Refs #24117
2015-01-10Fixed #13165 -- Added edit and delete links to admin foreign key widgets.Simon Charette
Thanks to Collin Anderson for the review and suggestions and Tim for the final review.
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2015-01-02Fixed #9104 -- Moved FieldDoesNotExist to core.exceptionsDaniel Pyrathon
2014-12-31Fixed #22295 -- Replaced permission check for displaying admin user-toolsThomas Tanner
2014-12-31Ignored warnings correctly in test_get_formsets_with_inlines_returns_tuples().Berker Peksag
The subclass check in ModelAdmin.get_formsets_with_inlines() wasn't tested correctly because of the super() call in EpisodeAdmin.get_formsets().
2014-12-28Deprecated TEMPLATE_CONTEXT_PROCESSORS.Aymeric Augustin
2014-12-28Deprecated current_app in TemplateResponse and render(_to_response).Aymeric Augustin
2014-12-26Fixed #23948 -- Moved password help text from the template to the form.Tim Graham
Thanks Mithos for the report and patch.
2014-12-23Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen
2014-12-22Upgrade jQuery from 1.11.1 to 1.11.2Collin Anderson
refs #23355
2014-12-17Fixed #23497 -- Made admin system checks run for custom AdminSites.Mosson, Andrew
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input.
2014-12-12Fixed #23857 -- Fixed admin crash with "save as new" and deleting inline.Tim Graham
Thanks amarandon for the report.
2014-12-12Fixed template tag braces spacing.Kevin Marsh
2014-12-11Fixed typo in admin deprecation message.Markus Amalthea Magnuson
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne
comprehension
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-12-02Fixed #23934 -- Fixed regression in admin views obj parameter.Kamil Braun
2014-11-29Fixed #17890 -- Added an extra_context parameter to AdminSite.password_change().Berker Peksag
2014-11-25Fixed #23915 -- Made sure m2m fields through non-pk to_field are allowed in ↵Simon Charette
the admin. refs #23754, #23862
2014-11-25Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.
2014-11-25Fixed #23898 -- Added missing context to admin's deleted_selected view.Redouane Zait
Thanks Redouane Zait for the report.
2014-11-23Removed direct references to template-related settings.Aymeric Augustin
2014-11-15Fixed #23793 -- Clarified password reset messages.Yigit Guler
2014-11-11Fixed #23750 -- Allowed core.checks.register to be used as a functionaverybigant
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-10-23Fixed #23444 -- Deprecated ↵a1tus
django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
2014-10-10Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.Konrad Świat
Thanks ranjur for reporting bug, timgraham for review, and collinanderson for contributing tips.
2014-10-06Fixed #23604 -- Allowed related m2m fields to be references in the admin.Emmanuelle Delescolle
Thanks Simon Charette for review.
2014-09-30Updated translations from TransifexClaude Paroz
Forward port of e9c8aefbcee5 from stable/1.7.x
2014-09-30Fixed #7361 -- Added cancel link to admin delete views.Nick Sandford
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-26Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.Thomas Chaumeny
Thanks lidaobing for the suggestion.
2014-09-08Fixed #23431 -- Allowed inline and hidden references to admin fields.Simon Charette
This fixes a regression introduced by the 53ff096982 security fix. Thanks to @a1tus for the report and Tim for the review. refs #23329.
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-30Fixed #23055 -- Made generic admin filter obey ModelAdmin queryset.Ramiro Morales
Thanks to Trac user synasius and to Ola Sitarska for helping in identifying the issue and helping with the test case.
2014-08-28Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCaseClaude Paroz
Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch.
2014-08-27Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.Simon Charette
Thanks to Trac alias Markush2010 and ross for the detailed reports.
2014-08-27Fixed #13749 -- Added link from admin site to front-end site.areski
Thanks romankrv for the suggestion.
2014-08-26Fixed #23075 -- Added documentation on novalidate attribute and made it ↵Erik Romijn
default for admin Thanks to sehmaschine for the report and to Tim Graham for the review.
2014-08-24Fixed #23355 -- Updated admin jQuery to 1.11.1.Tim Graham
2014-08-20Prevented data leakage in contrib.admin via query string manipulation.Simon Charette
This is a security fix. Disclosure following shortly.
2014-08-20Fetched translations from TransifexClaude Paroz
Forward port of 49280a73ea5 from stable/1.7.x
2014-08-14Fixed #20133 -- Added summary to admin deletion confirmation pages.areski
Thanks jonash for the suggestion and initial patch.
2014-08-14Fixed #21132 -- Removed the useless app_name argument to AdminSite.Tim Graham
Thanks MarkusH for the report and Florian for review.
2014-08-13Fixed #18767 -- Fixed admin calendar for other locales than English.Maxime Turcotte
Refactored openCalendar function from DateTimeShortcuts.js. Now, when entered manually in the input field, the date will show up correctly on the calendar for locales that don't use "-" for separator. Thanks charettes for revivew and Alexey Boriskin for some of the patch.