Adjusted login template override example (#6265)

This commit is contained in:
Cyrus Ghazanfar 2018-12-19 09:25:34 -05:00 committed by Carlton Gibson
parent 1348bdc48a
commit 7ad5bdb669

View File

@ -94,6 +94,8 @@ To add branding and customize the look-and-feel of the login template, create a
You can add your site name or branding by including the branding block:
{% extends "rest_framework/login_base.html" %}
{% block branding %}
<h3 style="margin: 0 0 20px;">My Site Name</h3>
{% endblock %}