diff options
| author | Tom Christie | 2012-02-15 01:38:23 -0800 | 
|---|---|---|
| committer | Tom Christie | 2012-02-15 01:38:23 -0800 | 
| commit | 426493a78f3003fdba39053b6af23b93b312a777 (patch) | |
| tree | 8f598a2af2d96b8d4ac1b85be2c6037dc5a65197 /docs | |
| parent | ba1e3b46998254e12578d75428669751e105735b (diff) | |
| parent | 78daa32566cbdc9016d6c4df5429feb9684c8032 (diff) | |
| download | django-rest-framework-426493a78f3003fdba39053b6af23b93b312a777.tar.bz2 | |
Merge pull request #162 from poswald/master
Remove robots.txt, favicon.ico; namespace static files
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/setup.rst | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/howto/setup.rst b/docs/howto/setup.rst index f14e0499..22f98f0c 100644 --- a/docs/howto/setup.rst +++ b/docs/howto/setup.rst @@ -37,16 +37,15 @@ The Python `markdown library <http://www.freewisdom.org/projects/python-markdown  If markdown is installed your :class:`.Resource` descriptions can include `markdown style formatting   <http://daringfireball.net/projects/markdown/syntax>`_ which will be rendered by the HTML documenting renderer. -robots.txt, favicon, login/logout +login/logout  --------------------------------- -Django REST framework comes with a few views that can be useful including a deny robots view, a favicon view, and api login and logout views:: +Django REST framework comes with a few views that can be useful including an api +login and logout views::      from django.conf.urls.defaults import patterns      urlpatterns = patterns('djangorestframework.views', -        (r'robots.txt', 'deny_robots'), -        (r'favicon.ico', 'favicon'),          # Add your resources here          (r'^accounts/login/$', 'api_login'),          (r'^accounts/logout/$', 'api_logout'),  | 
