From fa475e58358863f9bc7e603788075f4a93fce63d Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Mon, 4 Apr 2016 21:23:05 -0600 Subject: [PATCH] Name for finding url with reverse. --- bikeshop_project/registration/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bikeshop_project/registration/urls.py b/bikeshop_project/registration/urls.py index 26c068d..84781dd 100644 --- a/bikeshop_project/registration/urls.py +++ b/bikeshop_project/registration/urls.py @@ -2,5 +2,5 @@ from django.conf.urls import url from .views import MemberFormView urlpatterns = [ - url(r'^new/$', MemberFormView.as_view()), + url(r'^new/$', MemberFormView.as_view(), name='signup'), ]