Changed id to pk for object_id assignment because pk is an alias to id under Django's hood