Greetings to everyone.
I am quite new in Python, but trying.
I am building a website using django framework and I have one question. Cant find answer on internet, so I will try here.
I have model List and model ListField. ListField have foreign key to List.
Also, I have ListFieldForm where I can choose a List. In this form there is dropdown with lists, but I need to add an extra condition, so that not all Lists are shown in that dropdown. What is the way to achieve that? Can I override some method in ListField model to add new conditions?