Answer by marziyeh seifi for NoReverseMatch at / Reverse for 'profile' with...
If you define a post without assigning a profile (owner) to it, you get this error. in other words, something that Django wants (in your database) is blank!You must go to the admin panel and check all...
View ArticleAnswer by Sourav Sharma for NoReverseMatch at / Reverse for 'profile' with...
This is because you have an project with author I faced the similar issue.
View ArticleAnswer by ARAFATH ISLAM for NoReverseMatch at / Reverse for 'profile' with...
NoReverseMatch at / Reverse for 'profile' with arguments '('',)' not found. 1 pattern(s) tried: ['profile/(?P[^/]+)/$']It's means something missing in database thats you are working for in loops...
View ArticleAnswer by mahdi for NoReverseMatch at / Reverse for 'profile' with arguments...
Maybe you need to check your admin panel if there is a post without author that's probably the problem
View ArticleAnswer by twrought for NoReverseMatch at / Reverse for 'profile' with...
It looks like the error is occurring with<a href="{% url 'profile' post.author.username %}">Make sure that each of these posts that you are looping through actually has an author and that each...
View ArticleAnswer by taha maatof for NoReverseMatch at / Reverse for 'profile' with...
in this url : path("profile/str:name/", views.profile, name="profile")do you have an view called profile?and what does name in str:name refer to? username maybe? or authoryou need to provide more details,
View ArticleNoReverseMatch at / Reverse for 'profile' with arguments '('',)' not found. 1...
I am a beginner in learning code and am working on making a simple django site where users can write comments but I keep getting this errorMy urls.pyfrom django.urls import pathfrom . import...
View Article
More Pages to Explore .....