[Fixed]-ViewDoesNotExist when view is there on Django 1.9.1

1👍

The issue is that you haven’t pointed your url routes to the methods, just the library they are in:

Make your url patterns like this:

urlpatterns = patterns('',
                   url(r'^hello/$', hello_world.hello),
                   url(r'^time/$', current_datetime.current_datetime),
                   )

That said this is really outdated and may not properly work on Django, I’d suggest using the most recent Django tutorial and starting again.

Leave a comment