Thank you, Stephen, but this is not what I asked. I can't change QuerySet 
and I don't know how it looks like.

On Saturday, July 4, 2020 at 4:30:40 PM UTC-4, Akinfolarin Stephen wrote:
>
> you can filter out the column you want by using 
> [name of model].objects.get(filter=[name of the column you want])
>
> On Sun, Jul 5, 2020 at 10:12 AM Eugene Kulak <widowmak...@gmail.com 
> <javascript:>> wrote:
>
>> How to get names of columns from QuerySet without executing it?
>> If it is not possible what would be the most easier way to execute a 
>> lighter version of the query. 
>> The query itself is unknown, it could be anything.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/60c63ddd-80fa-44c5-9a8e-10091e307099o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/60c63ddd-80fa-44c5-9a8e-10091e307099o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4803a8d6-71bd-4fcf-80fb-35aa504db74bo%40googlegroups.com.

Reply via email to