Click here to Skip to main content
15,748,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Here's what I mean. I have this model:
from places.fields import PlacesField
class Lol(models.Model):
    source = PlacesField()
    destination = PlacesField()
The issue is that whenever I select the source location, the same is selected for the destination and vice versa.

What I have tried:

I created two extra models to which Lol will be the foreign key, but I don't want to do that. Is there any other solution to this issue?
Updated 11-Dec-17 19:44pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900