Skip to content

Commit

Permalink
Adjusted login template override example (#6265)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyzanfar authored and carltongibson committed Dec 19, 2018
1 parent 1348bdc commit 7ad5bdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/topics/browsable-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 7ad5bdb

Please sign in to comment.