<reponame>J1bz/ecoloscore
# -*- coding: utf-8 -*-

from django.conf.urls import url, patterns
from ecoauth.views import LoginView, LogoutView, CheckTokenView

urlpatterns = patterns(
    '',
    url(r'^login/$', LoginView.as_view(), name='login'),
    url(r'^checktoken/$', CheckTokenView.as_view(), name='checktoken'),
    url(r'^logout/$', LogoutView.as_view(), name='logout'),
)

# -*- coding: utf-8 -*-

from django.conf.urls import url, patterns
from ecoauth.views import LoginView, LogoutView, CheckTokenView

urlpatterns = patterns(
    '',
    url(r'^login/$', LoginView.as_view(), name='login'),
    url(r'^checktoken/$', CheckTokenView.as_view(), name='checktoken'),
    url(r'^logout/$', LogoutView.as_view(), name='logout'),
)
# -*- coding: utf-8 -*-