You need a ^articles/year/$ in your urls.py if you want to visit http://127.0.0.1:8000/articles/year/
Your URLs are looking for: http://127.0.0.1:8000/articles/dddd - eg http://127.0.0.1:8000/articles/2014 http://127.0.0.1:8000/articles/dddd/dd/ - eg http://127.0.0.1:8000/articles/2014/07/ http://127.0.0.1:8000/articles/dddd/dd/{digits} - eg http://127.0.0.1:8000/articles/2014/07/02 There is no http://127.0.0.1:8000/articles/year/ in that list. Cheers L. On 2 July 2014 21:01, ngangsia akumbo <ngang...@gmail.com> wrote: > > > On Wednesday, July 2, 2014 9:47:08 AM UTC+1, Lloyd Dube wrote: >> >> I suggest you do so. It is important to understand how the framework works >> before attempting to create your own projects or even using existing apps. >> >> Page not found (404) >> Request Method: GET >> Request URL: http://127.0.0.1:8000/articles/year >> Using the URLconf defined in mysite.urls, Django tried these URL patterns, >> in this order: >> ^articles/(\d{4})/$ >> ^articles/(\d{4})/(\d{2})/$ >> ^articles/(\d{4})/(\d{2})/(\d+)/$ >> ^admin/ >> The current URL, articles/year, didn't match any of these. >> You're seeing this error because you have DEBUG = True in your Django >> settings file. Change that to False, and Django will display a standard 404 >> page. > > > > I keep having this prob > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/50e3f958-f1f3-4330-837a-41269b432549%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- The idea is that a beautiful image is frameable. Everything you need to see is there: It’s everything you want, and it’s very pleasing because there’s no extra information that you don’t get to see. Everything’s in a nice package for you. But sublime art is unframeable: It’s an image or idea that implies that there’s a bigger image or idea that you can’t see: You’re only getting to look at a fraction of it, and in that way it’s both beautiful and scary, because it’s reminding you that there’s more that you don’t have access to. It’s now sort of left the piece itself and it’s become your own invention, so it’s personal as well as being scary as well as being beautiful, which is what I really like about art like that. ----------------------------------------------------------------------------------------------------------- Adventure Time http://theholenearthecenteroftheworld.com/ -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGBeqiPiA81tWCZnjC9fQx3Oo_%2BvcCBFd2FaWqznyYPGsgE8aA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.