Add dummy view for use in redirect test
path,
)
+from iommi._web_compat import HttpResponse
from iommi.admin import Admin
@@ -11,6 +12,11 @@ class Meta:
iommi_style = 'bootstrap_docs'
+def dummy_view(request):
+ return HttpResponse('this is a dummy view')
+
+
urlpatterns = [
+ path('dummy/', dummy_view, name='dummy_view'),
path('admin/', include(MyAdmin.urls()))
]
