from django.urls import path 
from location import views 
from rest_framework.urlpatterns import format_suffix_patterns


urlpatterns = [
    path('', views.LocationList.as_view()),
    path('<int:pk>/', views.LocationDetail.as_view())
]

urlpatterns = format_suffix_patterns(urlpatterns)