summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_views
AgeCommit message (Collapse)Author
2009-05-15[1.0.X] Fixed import statement in admin_views test to work with Python 2.3. Matt Boersma
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-14[1.0.X] Fixed #10992: fixed a bug saving inlines with custom primary key ↵Jacob Kaplan-Moss
fields. Thanks, Zain. Backport of [10777] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-13[1.0.X] Fixed #10448: correcting errors on "save as new" now correctly ↵Jacob Kaplan-Moss
create a new object instead of modifying the old one. Thanks, bastih. Backport of [10713] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-09[1.0.X] Fixed #11042 -- Corrected admin inlines for inherited models. Thanks ↵Russell Keith-Magee
to jsmullyan for the report, and mir for helpful triage work. Patch includes regression test for #8093, and a commented out test for #10992. Merge of r10725 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #10899 -- Ensured that log messages for deletions in the admin ↵Russell Keith-Magee
contain useful descriptions. Thanks to Jeremy Dunck for the patch. Merge of r10686 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08[1.0.X] Fixed #10516 -- Corrected admin search when the search_fields ↵Russell Keith-Magee
definition contains multiple fields on the same base model. Thanks to Zain Memon Merge of r10684 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-05[1.0.X] Fixed #10275 -- Corrected the edge case of rendering a LogEntry with ↵Russell Keith-Magee
a contenttype of None. Thanks to Jarek Zgoda for the report, and Peter Bengtsson for the patch Merge of r10675 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-21[1.0.X] Fixed #9651: fixed save_as with inline forms. Thanks, kmike and ↵Karen Tracey
Mnewman. Backport of r10353 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18[1.0.X] Fixed #10002: inline file uploads now correctly display prior data. ↵Jacob Kaplan-Moss
Thanks, dgouldin. Backport of r10588 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01[1.0.X] Fixed #9969: choices with options groups (added in [7977]) now work ↵Jacob Kaplan-Moss
correctly in the admin with list_display and list_filter. Thanks, ramiro. Backport of r10318 from trunk; thanks, cramm. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01[1.0.X] Fixed #7510: the ModelAdmin now uses `self.queryset` instead of the ↵Jacob Kaplan-Moss
default manager. Thanks, Alex Gaynor. Backport of r10314 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31[1.0.X] Fixed #9863. A ForeignKey with editable=False to the parent in an ↵Joseph Kocherhans
inline no longer raises an exception. Thanks to keithb for the test case and Alex Gaynor for the patch. Backport of r10239 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-10[1.0.X] Fixed #10271, #10281 -- Fixed the handling multiple inline models ↵Russell Keith-Magee
that share a common base class and have the link to the inline parent on the base class. Includes modifications that allow the equivalent handling for GenericFields. Thanks to Idan Gazit, Antti Kaihola (akaihola), and Alex Gaynor for their work on this patch. Backport of r10017 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16[1.0.X] Fixed #9859 -- Added another missing force_unicode needed in admin ↵Karen Tracey
when running on Python 2.3. Many thanks for report & patch with test to nfg. Also enhanced the new test to hopefully exercise all paths through the get_deleted_objects function, and fixed the errors pointed out by the beefed-up test. r9656 and r9657 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10[1.0.X] Fixed #8910 -- Added force_unicode during admin log message creation ↵Karen Tracey
to avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg. [9383] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09[1.0.X] Fixed #9514 -- Made admin change_form template correctly ↵Karen Tracey
recognize/report when a form has only a single error. [9371] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24[1.0.X] Fixed #7179 -- Changed breadcrumbs on the add page so that a link to ↵Karen Tracey
the 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/branches/releases/1.0.X@9277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-22[1.0.X] Fixed #9252 -- Moved the try/except protecting against incorrect ↵Karen Tracey
lookup params to where the error is now raised, and added a test for this case. Backport of [9245] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21[1.0.X] Fixed #3096 -- Make admin list_filters respect limit_choices_to.Karen Tracey
Backport of [9241] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08[1.0.X] Fixed #9053 -- Allowed for sorting of callable and ModelAdmin ↵Karen Tracey
methods 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. Backport of [9211], also updated svnmerge.py metatdata. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9212 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