예제 #1
0
파일: urls.py 프로젝트: DiegoIDSUP/API
from django.contrib import admin
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, serializers, viewsets

from Login.views import CustomAuthToken

urlpatterns = [
    re_path(r'^', CustomAuthToken.as_view()),
]
예제 #2
0
파일: urls.py 프로젝트: HeberPV/CS2
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 CustomAuthToken

from Login import views

urlpatterns = [
    re_path(r'login/$', CustomAuthToken.as_view()),
    re_path(r'example_list2/$', views.ExampleList2.as_view()),
    #Hola soy AlucardHJ123
]