title: django.urls.exceptions.NoReverseMatch: Reverse for 'sign_up' not found. 'sign_up' is not a valid view function or pattern name
body: <p>Django version 1.11.5, </p>
  
  <p>views.py</p>
  
  <pre><code>class SignupPage(CreateView):
      form_class = forms.UserSignupForm
      success_url = reverse_lazy('login')
      template_name = 'signup.html'
  </code></pre>
  
  <p>website/urls.py</p>
  
  <pre><code>from django.conf.urls import url
  from django.contrib.auth import views as auth_views
  from django.contrib.auth.views import LoginView,LogoutView
  from . import views
  
  app_name = 'website'
  
  urlpatterns = [
  
      url(r'^login/', auth_views.LoginView.as_view(template_name='signin_2_w.html'), name='login'),
      url(r'^logout/$', auth_views.LogoutView.as_view(), name='logout'),
      url(r'^signup/', views.SignupPage.as_view(), name='sign_up'),
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>class UserSignupForm(UserCreationForm):
  
      class Meta:
          fields = ('username','email','password1','password2')
  
  
          model = get_user_model()
  
      def __init__(self,*args,**kwargs):
          super().__init__(*args,**kwargs)
          self.fields['username'].label = "Display Name"
          self.fields['email'].label = "Email Address"
          self.fields['password1'].label = "Password"
          self.fields['password2'].label = "Confirm Password"
  </code></pre>
  
  <p>proj/urls.py</p>
  
  <pre><code>urlpatterns = [
  
      url(r'^admin/', admin.site.urls),
      url(r'^$',views.HomePage.as_view(),name='home'),
      url(r'^website/',include('website.urls',namespace='website')),
      url(r'^website/',include('django.contrib.auth.urls')),
      url(r'^website/',views.StreamyePage.as_view(),name='streamye'),
      url(r'^thanks/$',views.ThanksPage.as_view(),name='thanks'),
      url(r'^congrats/$',views.CongratsPage.as_view(),name='congrats'),
      url(r'^aboutus/$',views.AboutusPage.as_view(),name='about_us'),
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;ul class="nav navbar-nav navbar-right"&gt;
              {% if user.is_authenticated %}
              &lt;li&gt;&lt;a href="{% url 'logout' %}"&gt;Logout&lt;/a&gt;&lt;/li&gt;
              {% else %}
               &lt;li&gt;&lt;a href="{% url 'login' %}"&gt;Login&lt;/a&gt;&lt;/li&gt;
               &lt;li&gt;&lt;a href="{% url 'sign_up' %}"&gt;Signup&lt;/a&gt;&lt;/li&gt;
              {% endif %}
            &lt;/ul&gt;
  </code></pre>
  
  <p>In the above code, the signup page is throwing me a error -- "django.urls.exceptions.NoReverseMatch: Reverse for 'sign_up' not found. 'sign_up' is not a valid view function or pattern name."</p>
  
  <p>Please someone help me out where im wrong!
  Thanks in advance!</p>