summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2014-08-13Removed tabs from an admin CSS file.Trey Hunner
2014-08-13Simplified admin delete confirmation templates using {% elif %}.areski
Thanks jonash for the initial patch; refs #20133.
2014-08-12Added newlines to the ends of CSS, HTML, and JavaScript files missing them.Trey Hunner
2014-08-12Fixed #23262 -- Made SelectFilter2.js move items on enter Key press.Collin Anderson
2014-08-04Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.Stanislas Guerra
2014-07-31Fixed #13163 -- Added ability to show change links on inline objects in admin.Nick Sandford
Thanks DrMeers for the suggestion.
2014-07-13Added a newline to appease flake8Alex Gaynor
2014-07-12Fixed #22939 -- Delayed admin_static backend detectionClaude Paroz
Thanks generalov for the report.
2014-07-09Fixed #19671 -- Added warnings that null and validators are ignored for ↵Anubhav Joshi
ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
2014-07-05Fixed various minor doc typos / references.Daniel Hahler
2014-06-26Fixed #22894 -- Made admin add related/raw ID fields widgets customizable.Riccardo Magliocchetti
Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
2014-06-23Removed 'to_field' from ForeignKey(settings.AUTH_USER_MODEL) in admin's ↵Uriel Corfa
initial migration. This enables using a custom user model with a primary key with a name different than 'id'; refs #22889.
2014-06-16Use __first__ not __latest__ for unknown app dependenciesAndrew Godwin
2014-06-15Fixed #22563: Added migration to admin, fixed a few more loader issues.Andrew Godwin
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-10Fixed #22792 -- Updated checks for list_display_links in model adminGreg Chapple
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2014-06-05Fixed #22746 -- Removed background property from pre/code in admin CSS.Konstantin Koroviev
2014-06-02Revert "Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with ↵Tim Graham
choices" This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
2014-05-19Updated translation catalogsClaude Paroz
2014-05-16Fixed #22266 - quote PK before redirecting away from add_view ↵Stas Rudakou
(django.contrib.admin)
2014-05-15Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.Anders Steinlein
Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
2014-05-07Restored site header text in password reset view.Ramiro Morales
It's the one shown when the optional integration described in https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature is used. Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix different small UI regressions after a962286b74. Refs #21293.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-04-10Fixed #22195 -- Used constants to define built-in tags for check framework.Tim Graham
Thanks Elvard for the patch.
2014-04-07Fixed #21084 -- Used proxy model's content type for admin log entries.Tim Graham
(the previous commit included only the test)
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-31Replaced urllib/urlparse imports with from django.utils.six.moves.Tim Graham
2014-03-31Fixed #21795 -- Made add_preserved_filters account for url prefixes.Loic Bistuer
Thanks to trac username honyczek for the report. Refs #6903.
2014-03-30Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor
2014-03-29Fixed #22329 -- Used label_tag() in some admin auth templates.Tim Graham
refs #17922.
2014-03-28Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.Maxime Turcotte
2014-03-25Fixed #22087 -- Made AdminReadonlyField respect ModelForm Meta overrides.Ben Davis
2014-03-22Made m2m fields form help_text munging specific to admin widgets.Ramiro Morales
Refs #9321 and follow-up to e80de93af6a0a21a9063a55c4d6d20e3927243e9.
2014-03-22Fixed #22241 -- Selectively added line breaks in admin read-only fieldsClaude Paroz
When content is supposed to contain HTML, we do not try to add line breaks in read-only contents. Thanks Alexander Todorov for the report.
2014-03-21Removed reading of legacy admin popup GET parameter.Tim Graham
refs #20288.
2014-03-21Removed backward compatible shims to rename get_query_set and similar ↵Tim Graham
queryset methods. Also removed the backward compatible shims introduced to rename the attributes ChangeList.root_query_set and ChangeList.query_set.
2014-03-11Fixed #21293 -- Adjusted admin header CSS to fix admin password reset template.Tim Graham
By removing the absolute positioning of the usertools div and using float positioning, the #header div will expand based on the height of its content. Thanks EvilDMP for the report.
2014-03-09Prevented admin from importing auth.User.Aymeric Augustin
Since we don't enforce order between apps, root packages of contrib apps cannot import models from unrelated apps. Fix #22005, refs #21719.
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-08Fixed #22034 -- Added a specific set of relation checks for ↵Russell Keith-Magee
GenericInlineModelAdmin. Thanks to jwa for the report.
2014-03-06Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title ↵James Jenkins
case Thanks bendavis78 for the report.
2014-03-06Fixed issues and added new scripts to urlify.jsBaptiste Mispelon
Added the following scripts: * Lithuanian (thanks to petraszd for the patch) * Serbian (thanks to offy) * Azerbajani (thanks to Ali Ismayilov) Fixed the following issues: * In Polish character map, some uppercase letters were converted to a lowercase ascii equivalent. * The letter Y with a diaeresis had a lowercase version but no uppercase. The code was also simplified and cleaned up: * Use of `var` statements everywhere * Systematic use of semicolons * Proper looping over arrays and objects. Thanks to @oinopion for his help in getting the javascript into proper shape. Fixes #8561, #11035.
2014-03-05Fixed #22207 -- Added support for GenericRelation reverse lookupsGabe Jackson
GenericRelation now supports an optional related_query_name argument. Setting related_query_name adds a relation from the related object back to the content type for filtering, ordering and other query operations. Thanks to Loic Bistuer for spotting a couple of important issues in his review.
2014-03-04Cleaned up a repr() hack that caused problems on Python3.Russell Keith-Magee
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-03-03Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().Greg Chapple
Allows custom behavior for setting initial form data in ModelAdmin. By default, initial data is set via GET params. The new method allows this behavior to be overridden. Thanks egasimus for the suggestion.
2014-03-03Edited contrib.admin check messages for grammar and consistency.Russell Keith-Magee
2014-03-01Fixed #22137 -- Made Widget.is_hidden a read-only propertyClaude Paroz
Thanks django at patjack.co.uk for the report and the review.