mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Wrong name of the login_base html file.
Changed rest_framework/base_login.html to rest_framework/login_base.html (which is the correct name the user should extends in their templates).
This commit is contained in:
parent
205c626d6e
commit
56d19dcc1c
|
@ -90,7 +90,7 @@ The browsable API makes use of the Bootstrap tooltips component. Any element wi
|
|||
|
||||
### Login Template
|
||||
|
||||
To add branding and customize the look-and-feel of the login template, create a template called `login.html` and add it to your project, eg: `templates/rest_framework/login.html`. The template should extend from `rest_framework/base_login.html`.
|
||||
To add branding and customize the look-and-feel of the login template, create a template called `login.html` and add it to your project, eg: `templates/rest_framework/login.html`. The template should extend from `rest_framework/login_base.html`.
|
||||
|
||||
You can add your site name or branding by including the branding block:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user