Skip to content
Snippets Groups Projects
Commit ccfb0878 authored by Alice Heaton's avatar Alice Heaton :speech_balloon:
Browse files

Fix urls.py

parent 40041148
No related branches found
No related tags found
2 merge requests!23Tabbed view header styling,!22Tabbed page
......@@ -4,7 +4,7 @@ from django.contrib.auth.decorators import login_required
from .views import TabbedPageView
urlpatterns = [
url(r'^/$', login_required(TabbedPageView.as_view())),
url(r'^$', login_required(TabbedPageView.as_view())),
url(r'^(?P<name>\w+)/$', login_required(TabbedPageView.as_view())),
url(r'^(?P<name>\w+)/(?P<tab_name>\w+)/$',
login_required(TabbedPageView.as_view()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment