Reputation: 355
I'm using django-cities-light for managing region/state models for US. But I can't see in the model how to retrieve the US state code widely available in GeoNames. e.g: CA for California.
Upvotes: 0
Views: 373
Reputation: 4635
Checkout this abstract model field https://github.com/yourlabs/django-cities-light/blob/88b897023f5cc7a0d76adaaf7e36343917ea698b/cities_light/abstract_models.py#L105
Upvotes: 1