diff options
| author | Brian Rosner <brosner@gmail.com> | 2008-11-13 19:03:44 +0000 |
|---|---|---|
| committer | Brian Rosner <brosner@gmail.com> | 2008-11-13 19:03:44 +0000 |
| commit | f751d5b71348b4f86fcc81877d6b28d89ad03186 (patch) | |
| tree | 723717cd21f4f9c31e82879e0ef6780b318353c4 /tests/regressiontests/generic_inline_admin/urls.py | |
| parent | dfa90aec1bed28f581b0f0471dc95860bb166cc9 (diff) | |
Fixed #9498 -- Handle a formset correctly when the foreign key is not 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
Diffstat (limited to 'tests/regressiontests/generic_inline_admin/urls.py')
| -rw-r--r-- | tests/regressiontests/generic_inline_admin/urls.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regressiontests/generic_inline_admin/urls.py b/tests/regressiontests/generic_inline_admin/urls.py new file mode 100644 index 0000000000..04d68cd26c --- /dev/null +++ b/tests/regressiontests/generic_inline_admin/urls.py @@ -0,0 +1,6 @@ +from django.conf.urls.defaults import * +from django.contrib import admin + +urlpatterns = patterns('', + (r'^admin/(.*)', admin.site.root), +) |
