Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if pacient.type_call in doctor_info.type_call.all():
- pass
- else:
- pacient.doctor = None
- pacient.save()
- так будет правильнее ???
- if pacient.type_call not in doctor_info.type_call.all():
- pacient.doctor = None
- pacient.save()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement