Q:

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
0

New to Communities?

Join the community