diff --git a/backstage/urls.py b/backstage/urls.py index 3871da1..330a401 100644 --- a/backstage/urls.py +++ b/backstage/urls.py @@ -4,5 +4,6 @@ from django.urls import path from backstage import views urlpatterns = [ - path('backstage/newmedia/public/opinion/',views.backstage_new_media_public_opinion,name='backstage-new-media-public-opinion') + path('backstage/newmedia/public/opinion/',views.backstage_new_media_public_opinion,name='backstage-new-media-public-opinion'), + path('backstage/error/',views.backstage_error,name='backstage-error'), ] diff --git a/backstage/views.py b/backstage/views.py index 70a6b02..054f3cd 100644 --- a/backstage/views.py +++ b/backstage/views.py @@ -75,3 +75,6 @@ def backstage_new_media_public_opinion(request): return HttpResponseRedirect('/backstage/backstage/newmedia/public/opinion/') return render(request, 'backstage/backstage_new_media_public_opinion.html') + +def backstage_error(resquest): + pass \ No newline at end of file