Ticket #12378: 12378.diff
File 12378.diff, 1.0 KB (added by , 15 years ago) |
---|
-
tests/regressiontests/admin_widgets/tests.py
126 126 def test_changelist_foreignkey(self): 127 127 response = self.client.get('%s/admin_widgets/car/' % self.admin_root) 128 128 self.failUnless('%s/auth/user/add/' % self.admin_root in response.content) 129 130 class OldAdminForeignKeyWidgetChangeList(AdminForeignKeyWidgetChangeList):131 urls = 'regressiontests.admin_widgets.urls2'132 admin_root = '/deep/down/admin' -
tests/regressiontests/admin_widgets/urls2.py
1 2 from django.conf.urls.defaults import *3 import widgetadmin4 5 urlpatterns = patterns('',6 (r'^deep/down/admin/', include(widgetadmin.site.urls)),7 )