Discussion:
NoReverseMatch at /blog/
Mohamed Awad
2018-10-15 15:38:20 UTC
Permalink
hi I have work on blog project but when I try to go to post_list url
django go to the post_detail ulr and give me this error and I don`t know
why
there are 3 image for app url , config url and error
and this is link on github
[image: Screenshot from 2018-10-15 17-20-02.png]
[image: Screenshot from 2018-10-15 17-19-46.png]
[image: Screenshot from 2018-10-15 17-06-22.png]
https://github.com/Mohamed-awad/blog
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGGOgdg5mv3G%3D_ampy5OCT07ss0PsspbPRYO%3DY3Lqff8NtjR0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
mottaz hejaze
2018-10-15 18:29:14 UTC
Permalink
this is a template problem , not in url.py ..

please review your blog_detail link in your html template
Post by Mohamed Awad
hi I have work on blog project but when I try to go to post_list url
django go to the post_detail ulr and give me this error and I don`t know
why
there are 3 image for app url , config url and error
and this is link on github
[image: Screenshot from 2018-10-15 17-20-02.png]
[image: Screenshot from 2018-10-15 17-19-46.png]
[image: Screenshot from 2018-10-15 17-06-22.png]
https://github.com/Mohamed-awad/blog
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAGGOgdg5mv3G%3D_ampy5OCT07ss0PsspbPRYO%3DY3Lqff8NtjR0A%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAGGOgdg5mv3G%3D_ampy5OCT07ss0PsspbPRYO%3DY3Lqff8NtjR0A%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHV4E-e31c_tY2VsksKVHs2OO9yOQn9q1D%2Bm%2BaJiuFbHbRofzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Gaurav Malhotra
2018-11-05 16:30:49 UTC
Permalink
9810143412
Post by mottaz hejaze
this is a template problem , not in url.py ..
please review your blog_detail link in your html template
Post by Mohamed Awad
hi I have work on blog project but when I try to go to post_list url
django go to the post_detail ulr and give me this error and I don`t know
why
there are 3 image for app url , config url and error
and this is link on github
[image: Screenshot from 2018-10-15 17-20-02.png]
[image: Screenshot from 2018-10-15 17-19-46.png]
[image: Screenshot from 2018-10-15 17-06-22.png]
https://github.com/Mohamed-awad/blog
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAGGOgdg5mv3G%3D_ampy5OCT07ss0PsspbPRYO%3DY3Lqff8NtjR0A%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAGGOgdg5mv3G%3D_ampy5OCT07ss0PsspbPRYO%3DY3Lqff8NtjR0A%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAHV4E-e31c_tY2VsksKVHs2OO9yOQn9q1D%2Bm%2BaJiuFbHbRofzQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAHV4E-e31c_tY2VsksKVHs2OO9yOQn9q1D%2Bm%2BaJiuFbHbRofzQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADQGNr1%3DecP_h0AXBWa7Vx%3DQPaoOVMsj-NCQBhrZv4VG2XpXVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Gaurav Toshniwal
2018-10-15 22:24:21 UTC
Permalink
I think it's because the 4th parameter to the URL config is \w+, which
means match one or more words, which is not the case while trying to
construct the reverse URL, since the 4th parameter passed is an empty
string.
Post by Mohamed Awad
hi I have work on blog project but when I try to go to post_list url
django go to the post_detail ulr and give me this error and I don`t know
why
there are 3 image for app url , config url and error
and this is link on github
[image: Screenshot from 2018-10-15 17-20-02.png]
[image: Screenshot from 2018-10-15 17-19-46.png]
[image: Screenshot from 2018-10-15 17-06-22.png]
https://github.com/Mohamed-awad/blog
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/147fd033-9f41-479a-83d8-caf36a96b18d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...