Browse Source

New membership url.

feature/python-error-tracking
Drew Larson 9 years ago
parent
commit
4181fd951f
  1. 2
      bikeshop_project/core/urls.py

2
bikeshop_project/core/urls.py

@ -2,6 +2,6 @@ from django.conf.urls import url
from .views import DashboardView, NewMembershipView from .views import DashboardView, NewMembershipView
urlpatterns = [ urlpatterns = [
url(r'^membership/new/$', NewMembershipView.as_view(), name='new_membership'), url(r'^member/(?P<member_id>[0-9]+)/membership/new/$', NewMembershipView.as_view(), name='new_membership'),
url(r'^$', DashboardView.as_view()) url(r'^$', DashboardView.as_view())
] ]

Loading…
Cancel
Save