summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_views
AgeCommit message (Collapse)Author
2008-12-16Follow-up to r9656 -- beef up the added test to exercise all (one can hope) ↵Karen Tracey
paths through the troublesome get_deleted_objects function and fix the resulting errors. Refs #9859. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16Fixed #9859 -- Added another missing force_unicode needed in admin when ↵Karen Tracey
running on Python 2.3. Many thanks for report & patch to nfg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10Fixed #8910 -- Added force_unicode during admin log message creation to ↵Karen Tracey
avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09Fixed #9514 -- Made admin change_form template correctly recognize/report ↵Karen Tracey
when a form has only a single error. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24Fixed #7179 -- Changed breadcrumbs on the add page so that a link to the ↵Karen Tracey
change view is not included when the user doesn't have permission for that view. Also added tests to ensure the link is not there when it shouldn't be, and there when it should be. Thanks for the report & patch alen__ribic. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-22Fixed #9252 -- Moved the try/except protecting against incorrect lookup ↵Karen Tracey
params to where the error is now raised, and added a test for this case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21Fixed #3096 -- Make admin list_filters respect limit_choices_to.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08Fixed #9053 -- Allowed for sorting of callable and ModelAdmin methods ↵Karen Tracey
specified in list_display (added in r8352). Previously attempting to sort on the former would raise an exception and the latter simply didn't sort. Also added tests for this function. Thanks rgl and jenan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Security fix. Announcement forthcoming.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Fixed #7982 -- Corrected ModelAdmin url dispatching to ensure it matching ↵Brian Rosner
exactly what it needs and doesn't stomp on primary key space. 'add' is a lost cause for now. This originated from #6470. Thanks jdetaeye for the original patch and basith for providing test cases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Fixed #7738: support initial values via `GET` for `SelectMutliple` in the admin.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24Fixed #8509: Cleaned up handling of test cookies in admin logins. Thanks to ↵Russell Keith-Magee
rajeshd for the report of a problem case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23Fixed #7776: Ensured that the test cookie is always deleted once a login has ↵Russell Keith-Magee
succeeded. Thanks for the report and fix, Mnewman. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15Use failIf() instead of assertFalse() so that tests work with python 2.3.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09Fixed #5780 -- Adjusted the ModelAdmin API to allow the created/updated objectsBrian Rosner
to be passed to the formsets prior to validation. This is a backward incompatible change for anyone overridding save_add or save_change. They have been removed in favor of more granular methods introduced in [8266] and the new response_add and response_change nethods. save_model has been renamed to save_form due to its slightly changed behavior. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09Fixed #5801: admin requests with GET args now get properly bounced through ↵Jacob Kaplan-Moss
login with those args intact. Thanks for the patch, Rozza. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08Added a few force_unicode() calls around objects in the admin. Required forMalcolm Tredinnick
Python 2.3 compatibility. Patch from nfg. Refs #8151, #8153. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed a bunch of Python 2.3 test failures.Malcolm Tredinnick
All remaining buildbot failures on 2.3 are not due to the test suite, as far as I can work out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18Merged the newforms-admin branch into trunk.Brian Rosner
This is a backward incompatible change. The admin contrib app has been refactored. The newforms module has several improvements including FormSets and Media definitions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37