Django simple logout and redirect.
url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}),