[ Prev ] [ Index ] [ Next ]

Logout

Created Mittwoch 26 Februar 2020


Source
Works without additional code or template. Shows the Django admin sites logged out page.


Customize

Create a logged_out.html template in the directory registration of the projects templates directory.


Example

{% extends "Inventory/master.html" %}

{% block title %}{{ block.super }} - Books{% endblock %}

{% block content %}

<p>You logged out!</p>

{% endblock %}