django-cities-light
django-cities-light copied to clipboard
How do i get all regions from a country or cities from a region? I want to use this for APIs. I want to select a country then hit an API and get all regions of the country selected. Hope you get the idea
How do i get all regions from a country or cities from a region? I want to use this for APIs. I want to select a country then hit an API and get all regions of the country selected. Hope you get the idea
I think you could add a get_queryset implementation in RegionModelViewSet in the same fashion CityModelViewSet does, except filter on region id.