summaryrefslogtreecommitdiff
path: root/tests/regressiontests/generic_inline_admin/models.py
AgeCommit message (Collapse)Author
2011-10-13Convert the remainder of the relative imports in the tests to be absolute ↵Alex Gaynor
imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-20Improved test isolation of the admin tests and assigned custom admin sites toRamiro Morales
prevent test order dependant failures. This involves introducing usage of `TestCase.urls` and implementing proper admin.py modules for some of the test apps. Thanks Florian Apolloner for finding the issue and contributing the patch. Refs #15294 (it solves these problems so the fix for that ticket we are going to commit doesn't introduce obscure and hard to reproduce test failures when running the Django test suite.) git-svn-id: http://code.djangoproject.com/svn/django/trunk@16856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #15907 -- Fixed another conflict between the ModelForm exclude and the ↵Jannis Leidel
GenericInline. Thanks, leonelfreire and prestontimmons. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13Fixed #14670 -- Made GenericTabularInline aware of changes made in r13708. ↵Jannis Leidel
Thanks, gregmuellegger. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23Fixed #12561. InlineAdmin now respects can_delete=False. Thanks, nessita.Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-21Fixed #12577. Reverted some changes from [12098] since [12206] made them ↵Joseph Kocherhans
unneccessary. Also, added a test for using generic inlines with unique_together. Thanks for the report, Raffaele Salmaso. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17Updated BaseGenericInlineFormSet to match the changes made to ↵Russell Keith-Magee
BaseInlineFormSet in r11874. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-18Fixed #9122: generic inline formsets now respect exclude and max_num. ↵Jacob Kaplan-Moss
Thanks, Alex Robbins. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13Fixed #9498 -- Handle a formset correctly when the foreign key is not ↵Brian Rosner
available (for now). This case pops up with generic foreign key inlines after [9297]. Added tests to handle future regressions with generic foreign key inlines in the admin. Thanks markus and danielr for patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9412 bcc190cf-cafb-0310-a4f2-bffc1f526a37