diff options
| author | Paul Oswald | 2012-02-20 22:16:51 +0900 |
|---|---|---|
| committer | Paul Oswald | 2012-02-20 22:16:51 +0900 |
| commit | 50198935af1f772835a3c26943cbb245295c60e5 (patch) | |
| tree | 70f2bc794229bb14ab5f74f236e2bd917e3223b6 /docs/howto | |
| parent | bf717eff6420af78a41e1359cdd7b9e409076281 (diff) | |
| download | django-rest-framework-50198935af1f772835a3c26943cbb245295c60e5.tar.bz2 | |
Rename templates to 'base.html', 'api.html', 'api.txt' and 'login.html'
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/setup.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/setup.rst b/docs/howto/setup.rst index d018c72d..64b58262 100644 --- a/docs/howto/setup.rst +++ b/docs/howto/setup.rst @@ -29,11 +29,11 @@ but once you move onto a production server, you'll want to make sure you serve t * Ensure that the ``ADMIN_MEDIA_PREFIX`` is set appropriately and that you are serving the admin media. (Django's testserver will automatically serve the admin media for you) -You may customize the templates by creating a new template called ``djangorestframework/renderer.html`` -in your project, extend ``djangorestframework/base_renderer.html`` and override the +You may customize the templates by creating a new template called ``djangorestframework/api.html`` +in your project, extend ``djangorestframework/base.html`` and override the appropriate ``{% block tags %}``. For example:: - {% extends "djangorestframework/base_renderer.html" %} + {% extends "djangorestframework/base.html" %} {% block title %}My API{% endblock %} |
