2023-03-29 14:06:11 -03:00
|
|
|
from django.contrib import admin
|
|
|
|
from django.urls import path
|
|
|
|
from rest_framework import routers
|
2023-03-29 18:35:23 -03:00
|
|
|
from core import views as core_views
|
2023-03-29 14:06:11 -03:00
|
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
|
|
|
|
|
|
urlpatterns = router.urls
|
|
|
|
|
|
|
|
urlpatterns += [
|
|
|
|
path('admin/', admin.site.urls),
|
2023-03-29 18:35:23 -03:00
|
|
|
path('contact/', core_views.ContactAPIView.as_view()),
|
2023-03-29 14:06:11 -03:00
|
|
|
]
|