While creating an Update Blog Post view/functionality I got this. I don\'t know what\'s wrong my post_update view is working but the if condition (request.method==&