[Answered ]-Django redirecting from one view to another

2👍

You have to add view1 to url patterns also:

urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^signup/$' ,signup),
url(r'^login/$', auth_test),
url(r'^simple',view2),
url(r'^simple2',view1)
]

Leave a comment