django-cities-light code example
Example: cities_light.models
from cities_light.models import City
class UserProfile(models.Model):
city = models.ForeignKey(City) #taking for example the user profile model that requires city
from cities_light.models import City
class UserProfile(models.Model):
city = models.ForeignKey(City) #taking for example the user profile model that requires city