Skip to content

Commit 7ad5bdb

Browse files
cyzanfarcarltongibson
authored andcommitted
Adjusted login template override example (#6265)
1 parent 1348bdc commit 7ad5bdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/topics/browsable-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ To add branding and customize the look-and-feel of the login template, create a
9494

9595
You can add your site name or branding by including the branding block:
9696

97+
{% extends "rest_framework/login_base.html" %}
98+
9799
{% block branding %}
98100
<h3 style="margin: 0 0 20px;">My Site Name</h3>
99101
{% endblock %}

0 commit comments

Comments
 (0)