How to configure where to redirect after a log out in Django?
Modern Django (2017+?) has a setting called LOGOUT_REDIRECT_URL. Older Djangos / Original Answer You don’t need to overwrite or wrap anything. According to the docs, you can just supply the next_page argument to the logout view. https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.views.logout (r’^logout/$’, ‘django.contrib.auth.views.logout’, {‘next_page’: ‘/successfully_logged_out/’})