Reoraganized project

This commit is contained in:
ITQ
2024-03-02 13:22:29 +03:00
parent bcdcfaf7f2
commit ed687650ba
27 changed files with 58 additions and 45 deletions
+12
View File
@@ -0,0 +1,12 @@
from django.urls import path
import api.countries.views
urlpatterns = [
path("", api.countries.views.CountryListView.as_view(), name="countries"),
path(
"/<str:alpha2>",
api.countries.views.CountryByAlpha2View.as_view(),
name="country_by_alpha2",
),
]