summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2013-09-17Added Arabic mapping to contrib/admin/static/admin/js/urlify.jsBeshr Kayali
2013-09-16Added backwards compatability shims for util modules.Tim Graham
refs #17627
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-14Fixed error handling in 3c5775d36f7e431d9691829a78580873111cb714 for ↵Florian Apolloner
non-operational webdrivers.
2013-09-14Delayed initialization of Selenium webdrivers.Florian Apolloner
If setUpClass throws an exception (in this case "Address already in use" if the super call can't find any open port to bind too) tearDownClass is not called. This results in open browser windows from the webdriver, hence we only construct it once we are sure there is no code afterwards which could error out.
2013-09-13Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.Juan Catalano
We want to be able to use it for instance for discovering `tasks.py` modules inside the INSTALLED_APPS. This commit therefore moves the logic to `autodiscover_modules` method in django.utils.module_loading.
2013-09-11Fixed #21056 -- AdminSite.app_index no longer blindly accepts any ↵Keryn Knight
app-labelish input.
2013-09-10Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor
Thanks joseph at vertstudios.com for the suggestion.
2013-09-10Fixed #4574 -- Added CSS classes to the admin calendar widget for better ↵Roberto Aguilar
control over styling.
2013-09-10Fixed #7467 -- Added a template block to override the admin welcome message.Tim Graham
Thanks Jeff Kowalczyk for the suggestion and rctay for the patch.
2013-09-09Fixed #21063 -- AdminSite app_index should be fail early if the user has no ↵Keryn Knight
permissions.
2013-09-07Fixed #21013 -- Ensure that ModelAdmin.get_queryset is considered for the ↵Juan Catalano
admin history view.
2013-09-07Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip
considered by the admin's interface when creating related objects. Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-09-07Add `response_delete` and `render_delete_form` methods to `ModelAdmin`Pablo Mouzo
This make it easier to control the delete flow.
2013-09-07Fixed regression introduced by a962286, changed ugettext to ugettext_lazy.Loic Bistuer
2013-09-06Merge pull request #1578 from rmutter/ticket_20821Julien Phalip
Fixed #20821 -- Added tooltips to Admin SelectBox widget
2013-09-06Fixed #20821 -- Added tooltips to Admin SelectBox widgetRudy Mutter
The Admin widget, which can be used to filter multiple selects can sometimes be too narrow and hide information such as user permissions. This commit adds tooltips to the select options so that a user can hover over and see the hidden text.
2013-09-06Added AdminSite attributes for easily changing admin title.Adrian Holovaty
AdminSite now has overridable site_header, site_title and index_title attributes. Changed each admin view to pass these to the context (in a new AdminSite.each_context() method). The intent here is to make it easier to override these things in the common case, instead of having to override a template, which is a bigger burden.
2013-09-06Fixed awkward indentation in admin URLconfsAdrian Holovaty
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-01Remove usage of deprecated module_name model option introduced in 1c0c879be3.Ramiro Morales
2013-08-31Fixed #17074 -- Improved first field detection in admin add formClaude Paroz
Thanks Kidwind for the report and Julien Phalip for the initial patch.
2013-08-31Updated Selenium-based tests after e909ceae9b.Ramiro Morales
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-29Fixed #16433 -- Fixed a help_text/read only field interaction that caused an ↵Tim Graham
admin crash. Thanks chris at cogdon.org for the report and admackin for the patch.
2013-08-22Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with choicesLukasz Balcerzak
2013-08-22Fixed #20934 -- Avoided NoReverseMatch in ModelAdmin.changelist_viewRainer Koirikivi
The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url.
2013-08-19Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objectsRainer Koirikivi
The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report.
2013-08-19Fixed #20777 -- Admin proxy model deletion regressionAnssi Kääriäinen
Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-13Fixed overflow for the "Recent Actions" widget on the admin index.Loic Bistuer
Previously the CSS targeted "li.changelink" and therefore didn't work for the "add" and "delete" actions. Refs #14868.
2013-08-06Fixed #20865 -- Fixed raw_id_fields to work with callable limit_choices_to.Collin Anderson
2013-08-04Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.Loic Bistuer
Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04Merge pull request #1432 from loic/modeladmin.get_search_resultsTim Graham
Moved get_search_results from BaseModelAdmin to ModelAdmin.
2013-08-04Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney
Thanks Loic Bistuer for the review.
2013-08-04Moved get_search_results from BaseModelAdmin to ModelAdmin.Loic Bistuer
Refs #15961.
2013-08-03Added ModelAdmin.get_search_fields.Loic Bistuer
2013-08-02Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169.
2013-07-30Updated some minified admin javascript files.Julien Phalip
2013-07-30Fixed #19082 -- Enabled admin field pre-population for existing objects.Julien Phalip
Thanks to msaelices and d1ffuz0r for the initial patch and tests.
2013-07-29Fixed #14850 -- Cleaned up duplicate code in admin formset handling.Tim Graham
Thanks apollo13 for the report and review.
2013-07-29Deprecated django.utils.importlibClaude Paroz
This was a shim for pre-Python 2.7 support.
2013-07-27Fixed #11195 -- Added CSS classes to the changelist cells to allow style ↵Julien Phalip
customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-27Fixed #18511 -- Cleaned up admin password reset template titles.Serge G. Spaolonzi
2013-07-26Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report.
2013-07-26Updated contrib.admin to use Email/URLInputs; refs #16630Tim Graham
2013-07-23Fixed #19900 -- Updated admin buttons to use CSS3 rounded corners.Pedro Mourelle
2013-07-21Fixed #13629 -- Added CSS classes to the `<body>` tag of some admin ↵Thomas Sorrel
templates to allow style customizations per app or per model.
2013-07-21Fixed #13696 -- ensured inline pk field is renderedKaren Tracey