summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2011-02-19Fixed #15290 -- Fixed a CSS styling issue with borders when the link item in ↵Russell Keith-Magee
a changelist isn't the first item in the list_display. Thanks to Julien Phalip for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19Fixed #15292 -- Removed redundant code in admin list template tag. Thanks to ↵Russell Keith-Magee
Julien Phalip for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19Fixed #15322 -- Removed a redundant check in admin logins. Thanks to ↵Russell Keith-Magee
melinath for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13Fixed #13902 -- Fixed admin list_filter so it doesn't show duplicate results ↵Ramiro Morales
when it includes a field spec that involves m2m relationships with an intermediate model. Thanks Iván Raskovsky for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #13948 -- Corrected the direction of arrows on the admin changelist. ↵Russell Keith-Magee
Thanks to jsdalton for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08Fixed #10573 -- Corrected autofocus problem in admin when the first widget ↵Russell Keith-Magee
displayed is a multiwidget. Thanks to rduffield for the report, and to Ramiro and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-08Fixed #15234 -- Ensure that years in a date heirarchy don't use commas for ↵Russell Keith-Magee
thousand separators, regardless of the value of USE_THOUSAND_SEPARATOR. Thanks to Julien Phalip for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06Fixed #13674 -- Ensure that labels on added inlines fields have the right ↵Russell Keith-Magee
'for' attribute. Thanks to Jonas for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06Fixed #14895 -- Ensure that USE_THOUSAND_SEPARATOR doesn't break the delete ↵Russell Keith-Magee
confirmation page. Thanks to Tuttle for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06Fixed #14768 -- Added an es_MX locale and initial translation. Thanks to ↵Russell Keith-Magee
Alonso Bautista Villalobos and the rest of the Mexican translation team. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14303 -- Ensure that the ids created for new inlines are unique after ↵Russell Keith-Magee
interstitial deletions have occurred. Thanks to m0nonoke for the report, and Julien Phalip for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-05Fixed #14830 -- Ensure that radio buttons on inlines preserve their default ↵Russell Keith-Magee
value. Thanks to Julien Phalip for the report and patch, and to antoinemartin for the diagnosis. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02Fixed #15212 -- ensure that ModelAdmin.get_actions still returns a ↵Alex Gaynor
SortedDict if there are no actions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-28Fixed #14880 - raw_id_fields in admin does not work when limit_choices_to ↵Luke Plant
dictionary has value=False Thanks to smallming for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-28Fixed #15103 - SuspiciousOperation with limit_choices_to and raw_id_fieldsLuke Plant
Thanks to natrius for the report. This patch also fixes some unicode bugs in affected code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-24Fixed #14982 -- Ensure that EMPTY_CHANGELIST_VALUE is honored for nullable ↵Russell Keith-Magee
foreign keys. Thanks to marcob for the report and fix, and to sontek for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21Updated admin translation files.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21Fixed a few translation related tests:Jannis Leidel
* Extended the admin i18n view to also take the admin translation catalogues into account. * Use a translation string from the core translations to test LOCALE_PATHS. * Fixed Russian translation of singular forms. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21Removed app translation strings from core translation files.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21Added new translation files to admin contrib app.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-20Poured a little more perfectionism into the delete-confirmation templates.Carl Meyer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-20Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai ↵Carl Meyer
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #12959 -- Added alt text to SelectFilter filter button. Thanks, acdha.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #12957 -- Added scope to the changelist tables for accessibility ↵Jannis Leidel
reasons. Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #6183 -- Stopped hiding the help text for SelectFilter widgets. ↵Jannis Leidel
Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Fixed #11434 -- Corrected style of arrow buttons located at the center of ↵Ramiro Morales
filter_{horizontal|vertical} m2m widgets to not give them focus borders that span from the left page border. Thanks defaultwombat for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Fixed #11414 -- Made sure the calendar and clock popup windows in the admin ↵Ramiro Morales
don't have a negative vertical position. Thanks uipko for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #14999 -- Ensure that filters on local fields are allowed, and aren't ↵Russell Keith-Magee
caught as a security problem. Thanks to medhat for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02Fixed #2986 -- Made the JavaScript code that drives related model instance ↵Ramiro Morales
addition in a popup window handle a model representation containing new lines. Also, moved the escapejs functionality yoo django.utils.html so it can be used from Python code. Thanks andrewwatts for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02Fixed #11700 -- Stopped admin actions and list_editable fields to show up in ↵Jannis Leidel
popups. Thanks to Simon Meers for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-01Fixed #11124 -- Expanded docstrings of the ModelAdmin ↵Ramiro Morales
has_{change|delete}_permission methods to make it clear they can be overriden to implement per-instance permission checks. Refs #12642. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23Fix a security issue in the admin. Disclosure and new release forthcoming.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #14935 -- Corrected a test failure introduced by r14992, which ↵Russell Keith-Magee
revealed an unhandled edge case in LogEntry handling in the admin. Thanks to Ramiro Morales for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Rectified bugs that were accidentally committed in r14997. Thanks for the ↵Jannis Leidel
heads-up, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #13782 -- Added CSS for errors in textareas and multiple fields in one ↵Jannis Leidel
line. Thanks, julien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #14900 -- Added ability to override the paginator class used in a ↵Jannis Leidel
ModelAdmin. Thanks, Adam Vandenberg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13Reverted [13998] because it never worked.Luke Plant
Refs #5425, #14844 git-svn-id: http://code.djangoproject.com/svn/django/trunk@14897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14868 -- Added CSS rule to prevent long text from overflowing the ↵Jannis Leidel
"recent actions" box on the admin index page. Thanks, Chris Adams. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #14312 -- Raising an ``IncorrectLookupParameters`` if the page number ↵Jannis Leidel
given to an admin change list exceeds the number of the last page. Thanks, mk. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13862 -- Added an ordering option to InlineModelAdmin and cleaned up ↵Jannis Leidel
documentation for it a bit. Thanks, Simon Meers, rasca and cogat. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13856 -- Float admin's top links on the right for RTL languages.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13649 -- Extended admin stylesheets to also cover disabled buttons in ↵Jannis Leidel
the admin. Thanks, Sebastian Noack. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12Fixed #13607 -- Auto-initialize admin's date hierarchy links intelligently. ↵Jannis Leidel
Thanks, Simon Meers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #12694 -- Added template block to make it easier to add new tools to ↵Russell Keith-Magee
the change_list and change_form templates. Thanks to andybak for the suggestion, and Simon Meers for the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02Fixed a use of old url template tag in an admin template.Luke Plant
This was missed from r14643. I grepped for other instances and this was the only one missing that I could find. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02Fixed #14735 -- Corrected plural formulation in admin search form template. ↵Jannis Leidel
Thanks, Claude. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02Fixed #8342 -- Removed code from the admin that assumed that you can't login ↵Jannis Leidel
with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02Fixed #9568 -- Hide nav-global div in admin login template in case it's used ↵Jannis Leidel
admin/base_site.html or admin/base.html. Thanks, AmanKow. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-22Fixed #14424 -- corrected a NameError when instantiating a ↵Alex Gaynor
RelatedFieldWidgetWrapper. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixed #3400 -- Support for lookup separator with list_filter admin option. ↵Honza Král
Thanks to DrMeers and vitek_pliska for the patch! git-svn-id: http://code.djangoproject.com/svn/django/trunk@14674 bcc190cf-cafb-0310-a4f2-bffc1f526a37