0👍
✅
Quotation marks have been allowed from django 1.5. If you are using version below it try by removing it.
<form action="{% url add store.store_name %}" method="post">
Also, you are missing the csrf token though the error is not related to that.
1👍
- You have no
{% load url %}
or{% load url from future %}
. - Raunak Agarwal correctly highlighted that you try to use ‘view’ function instead of ‘add’. But in both cases you have the same parameter passed so it will work.
In Django documentation you can find about it.
- [Answer]-How to add permission to a new model in a program in django 1.5
- [Answer]-Get_by_natural_key throwing AttributeError?
Source:stackexchange.com