I use Django 1.11.
There is a PostgreSQL database with a table in which data is available.
When requesting NameTabl.objects.filter(nameCol="Вася") with exactly existing data on this request, QeruSet[] is issued with a huge amount of redundant data, but I cannot find the one I need.
How to use filters correctly, so that the result would be recorded in a variable?

  • QuerySet[] with a huge amount of extra data - what is it like? - Sergey Gornostaev
  • @SergeyGornostaev when I answered your question, I understood where my error was) Thanks for the help! ) The error was that instead of "Вася" I was not looking for correct data. - EmptyMan

0