SyntaxFix
Write A Post
Hire A Developer
Questions
The url template tag will pass the parameter as a string and not as a function reference to reverse(). The simplest way to get this working is adding a name to the view:
url
reverse()
name
url(r'^/logout/' , logout_view, name='logout_view')