This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
from django.urls import path
|
||||
from .views import get_promocion_view, status_view
|
||||
from .views import PromocionObtener
|
||||
|
||||
urlpatterns = [
|
||||
# Capa 1: Definición del endpoint
|
||||
path('obtener/', get_promocion_view, name='get_promocion'),
|
||||
|
||||
path('obtener/', PromocionObtener.as_view(), name='obtener_promocion'),
|
||||
]
|
||||
Reference in New Issue
Block a user