mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
Adjusted login template override example (#6265)
This commit is contained in:
parent
1348bdc48a
commit
7ad5bdb669
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user