1👍
It’s seems to me that what you need is a simple Many-to-many relationship since each city can have many nearby cities. For instance:
nearby_cities = models.ManyToManyField("self", blank=True)
If you want to store additional information about the relationship you’ll have to create another model and use it to link both instances of your city model using through
Check Django docs for more information about the many-to-many relationship too.
Source:stackexchange.com