Exemplo n.º 1
0
from django.urls import path, re_path
from django.conf.urls import include
from django.contrib.auth.models import User
# from rest_framework import routers, serilizers, viewsets
from Login.views import CustonAuthToken
from Login import views

urlpatterns = [
    re_path(r'Login/$', CustonAuthToken.as_view()),
    re_path(r'example_lista2/$', views.ExampleList2.as_view()),
    #Hola soy elias
]
Exemplo n.º 2
0
from django.urls import path, re_path
from django.conf.urls import include
from django.contrib.auth.models import User
# from rest_framework import routers, serilizers, viewsets
from Login.views import CustonAuthToken

urlpatterns = [
    re_path(r'^', CustonAuthToken.as_view()),
]
Exemplo n.º 3
0
from django.urls import path, re_path
from django.conf.urls import include
from django.contrib.auth.models import User
# from rest_framework import routers, serilizers, viewsets
from Login.views import CustonAuthToken

urlpatterns = [re_path(r'^', CustonAuthToken.as_view())]
Exemplo n.º 4
0
from django.urls import path, re_path
from django.conf.urls import include
from django.contrib.auth.models import User
# from rest_framework import routers, serilizers, viewsets
from Login.views import CustonAuthToken

urlpatterns = [re_path(r'login/$', CustonAuthToken.as_view())]