summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2012-07-01Fixed #18550 -- Ensured that the admin history view works with escaped ↵Julien Phalip
primary keys. Thanks to josh.oosterman for the report and patch.
2012-06-18Fixed #18444 -- Replace hard coded "View on Site" URLsDaniel Hepper
2012-06-18Fixed #18450 -- Removed default values for i18n JavaScript URLs in Admin ↵Daniel Hepper
templates
2012-06-16Fixed #18420 -- Prevented the admin JS from crashing when the main form ↵Julien Phalip
contains no field. Thanks to maciej.maciaszek for the report and patch.
2012-06-16Updated the admin's minified JS files.Julien Phalip
2012-06-16Fixed #18477 -- Fixed colspan value when a TabularInline form contains ↵Julien Phalip
validation errors. Thanks to yedpodtrzitko for the report and patch.
2012-06-10Corrected way to get URL of object in admin history templateLuke Plant
2012-06-08Merge pull request #123 from apollo13/ticket18381Aymeric Augustin
Fixed #18381 -- Stopped escaping object ids when passing them to the contenttypes.shortcut view. Thanks apollo13 for the patch and dhepper for the review.
2012-06-07Fixed #18433 -- Fixed "View on Site" link in inline admin for models with ↵Daniel Hepper
custom PK
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-07Don't escape object ids when passing to the contenttypes.shortcut view.Florian Apolloner
This commit also changes the string pk to string_pk instead of id, to test if the admin uses .pk throughout the codebase.
2012-06-05Merge branch 'master' of https://github.com/django/djangomartin.bohacek
2012-06-05Ticket #17804 fix.martin.bohacek
2012-06-03Remove the summary attribute of the tableSamuel Sutch
In the discussion here: https://code.djangoproject.com/ticket/17138 it was decided that using the caption for this previously non-visible part of the table element was not semantic, so in this patch is moves that summary to the `title` attribute of the `a` tag which when overed over, on most browsers, will show the text.
2012-05-20Regenerated the minified versions of the admin actions and admin inlines ↵Jannis Leidel
JavaScript files forgotten in 04785d2 and f92c7c5 (and previous).
2012-05-20Imported reduce from functools for forward compatibility.Claude Paroz
In Python 3, reduce has to be imported from functools.
2012-05-18Merge pull request #24 from marcneuwirth/masterAdrian Holovaty
Removed 'return false' in favor of preventDefault in admin JS.
2012-05-16Swap out to === for the true comparison to avoid possible coercion issuesTravis Swicegood
2012-05-16Add missing semi-colonsTravis Swicegood
2012-05-16Remove `var` declaration---this variable is already delcared as an argumentTravis Swicegood
2012-05-16Make sure these functions don't bleed into the global scopeTravis Swicegood
This makes sure that all of these functions are assigned to variables assigned to the current scope, rather than the global scope. It also adds a trailing semi-colon to make sure various linters are happy.
2012-05-12Removed 'return false' in favor of preventDefault.Marc Neuwirth
Moved preventDefault to the top
2012-05-10Fixed #17518 -- CSS glitch in StackedInline.Aymeric Augustin
Thanks sebastian for the report and patch.
2012-05-10Replaced foo.next() by next(foo).Claude Paroz
This new syntax for next() has been introduced in Python 2.6 and is compatible with Python 3.
2012-05-03Fixed #18042 -- Advanced deprecation warnings.Aymeric Augustin
Thanks Ramiro for the patch.
2012-04-29Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz
Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
2012-04-29Fixed #17992 -- Added a public API for localtime.Aymeric Augustin
Thanks Bradley Ayers for the report.
2012-04-29Fixed #13196 -- Formatting in admin changelists.Aymeric Augustin
Handled values returned by functions more like field values. In particular, localized dates, times and datetimes properly, and converted datetimes to the current timezone.
2012-04-29Fixed template syntax error, introduced in pull request #17Mike Yumatov
2012-04-29Fixed #17967: Hide "Change Password" link in admin if ↵Aviral Dasgupta
user.has_usable_password is False.
2012-04-24Fixed #18037 -- Changed behaviour of url and ssi template tags to the new ↵Claude Paroz
syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09Fixed #18086 -- Restored '-pk' as the default order in the admin changelist. ↵Julien Phalip
This rectifies a slight change in behavior introduced in Django 1.4 and r17635. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-08Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official ↵Claude Paroz
deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #17972 -- Ensured that admin filters on a foreign key respect the ↵Julien Phalip
`to_field` attribute. This fixes a regression introduced in [14674] and Django 1.3. Thanks to graveyboat and Karen Tracey for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30Removed some Python < 2.6 compatibility code. Refs #17965.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-23Pulled admin translations updates from Transifex. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17Fixed #17828 -- Ensured that when a list filter's `queryset()` method fails, ↵Julien Phalip
it does so loudly instead of getting swallowed by a `IncorrectLookupParameters` exception. This also properly fixes #16705, which hadn't been addressed correctly in [16705]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Added Tatar translation. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Added Swahili translation. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Added Nepali translation. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Added Kazakh translation. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Added Esperanto to the list of languages. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Pulled the admin translations updates from Transifex. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-09Removed executable bits from some files that don't need them.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Fixed #17830 -- Modified list_filter on DateTimeFields to account for the ↵Aymeric Augustin
new time zone support. Thanks Glenn Washburn for the report and Jannis Leidel for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Enabled the existing admin Selenium tests to be run with Internet Explorer. ↵Julien Phalip
Note that some tweaks had to be made, in particular as IE7 has limited capabilities regarding CSS selectors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Updated admin base translation files with new strings. Refs #17822.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-04Added more thorough Selenium tests for the admin horizontal/vertical filter ↵Julien Phalip
widgets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Fixed #17198 -- Ensured that a deterministic order is used across all ↵Julien Phalip
database backends for displaying the admin change list's results. Many thanks to Luke Plant for the report and general approach, to everyone involved in the design discussions, and to Carl Meyer for the patch review. Refs #16819. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-23Added some Selenium tests for the admin's filter_horizontal and ↵Julien Phalip
filter_vertical widgets. Ref #13614, #15220. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17579 bcc190cf-cafb-0310-a4f2-bffc1f526a37