1👍
✅
Please check again your urls.py
.
from django.conf.urls import include, url
from django.contrib import admin
from getyou import views
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^$', views.welcome, name='welcome'),
url(r'^index/$', views.index, name='index'),
url(r'^profile/$', views.profile, name='profile'),
url(r'^$', views.create),
]
The second url(r'^$', views.welcome, name='welcome'),
will catch the request, so the 5th url can not catch the URL matching '^$'
pattern
👤kia
Source:stackexchange.com