@login_required
def weblate_logout(request):
 messages.info(request, _(u'Thanks for using Weblate!'))
 return auth_views.logout(request, next_page=reverse(u'home'))

@ login_required def weblate_logout ( request ) : messages . info ( request , _ ( u'Thanks for using Weblate!' ) ) return auth_views . logout ( request , next_page = reverse ( u'home' ) )
logout handler .