Correctings a type in ValuesQuerySet and adding import