mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 13:46:59 +03:00
7 lines
198 B
Python
7 lines
198 B
Python
|
from django.conf.urls.defaults import patterns
|
||
|
|
||
|
urlpatterns = patterns('djangorestframework.utils.staticviews',
|
||
|
(r'^accounts/login/$', 'api_login'),
|
||
|
(r'^accounts/logout/$', 'api_logout'),
|
||
|
)
|