[Answer]-Cannnot Assign- must be a instance Django

1👍

Cannot assign "(<region: Asia>,)"

As you have a comma at the end of your line, it turned it object into a tuple. Simply remove the comma:

position.department = department.objects.get(department_name=request.POST.get("department"))

Leave a comment