mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-09-16 17:22:32 +03:00
setup.rst: fix typo
This commit is contained in:
parent
54a02c1fb9
commit
2637daf514
|
@ -58,7 +58,7 @@ you're using the self-documenting API::
|
||||||
|
|
||||||
from django.conf.urls.defaults import patterns
|
from django.conf.urls.defaults import patterns
|
||||||
|
|
||||||
urlpatterns = patterns('djangorestframework.views',
|
urlpatterns = patterns('djangorestframework.utils.staticviews',
|
||||||
# Add your resources here
|
# Add your resources here
|
||||||
(r'^accounts/login/$', 'api_login'),
|
(r'^accounts/login/$', 'api_login'),
|
||||||
(r'^accounts/logout/$', 'api_logout'),
|
(r'^accounts/logout/$', 'api_logout'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user