+ 2
how can i convert the result of raw sql to python object in django?
from_db_value(value, expression, connection) i dint find any proper explanation regarding this in django documentation
1 Réponse
+ 2
You could make a class and call its constructor by filling it with the row values. Perhaps use a list and fill it with objects depending on row count