Django – is not a registered namespace

You should just change you action url in your template:

<form action="{% url 'submit' %} "method='post'>

On the note of url namespaces…

In order to be able to call urls using home namespace you should have in your main urls.py file line something like:

for django 1.x:

url(r'^', include('home.urls', namespace="home")),

for django 2.x and 3.x

path('', include(('home.urls', 'home'), namespace="home"))

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)