[Answer]-Django 1.2 won't run my view


If I purposely misspelled the name of the view function, Django complains, so I know it’s looking in the right place and that it is aware of this function.

That doesn’t mean that your request is hitting the correct view – it just means that Django can’t load your url conf when you include views that don’t exist. To be sure that Django is running the view you think it is, you need to add some logging or print statements to the view, or raise an exception in it.

Update your question to include all your url patterns. Your request is probably matching a view further up, which is returning the 404.

Leave a comment