6👍
✅
There shouldn’t be any ''
surrounding the view name in the url
tag – check the documentation out.
(Unless you’re using the Django’s 1.5 future
{% url %}
tag.)
1👍
this error also occurs this way :
<a href="{% url 'profiles_profile_detail' user.username %}">My account</a>
the message will be this one
Reverse for ''profiles_profile_detail'' with arguments '(u'mynick',)' and keyword arguments '{}' not found.
once the two ” dropped like explain erlier everything works fine 😉
- [Django]-Django: "auto_now_add=True" giving incorrect time
- [Django]-Python catch previous exception in broad handler
- [Django]-Django charfield with default empty string is required in admin
- [Django]-DJANGO allow access to a certain view only from a VPN Network
Source:stackexchange.com