title: Django HttpResponseRedirect can not found url
body: <p>This is my urls.py:</p>
  
  <pre><code>urlpatterns = patterns('horizon.views',
  url(r'home/$', 'user_home', name='user_home'),
  url(r'register/$', Register.as_view(), name='register'),
  url(r'success/$', Success.as_view(), name='success')
  )
  </code></pre>
  
  <p>And this my views.py:</p>
  
  <pre><code> class Register(forms.ModalFormView):
      template_name = 'auth/test.html'
      form_class = CreateUser
      success_url = reverse_lazy('login')
  
   class Success(generic.TemplateView):
       template_name = 'auth/success.html'
  </code></pre>
  
  <p>I try to use:  </p>
  
  <pre><code> return HttpResponseRedirect('success') 
  </code></pre>
  
  <p>or</p>
  
  <pre><code> return HttpResponseRedirect(reverse('success'))
  </code></pre>
  
  <p>but it is can not render the success.html. Who can tell me why ? Thanks a lot !</p>