Person.objects.raw('SELECT * FROM some_other_table', translations=name_map)
That does not work.
Printing out the results from above gives me the following.
How do I convert this into a sql result, and or a dictionary?
The row above
On Monday, September 29, 2014 1:11:51 PM UTC-4, robert b
does list(your_raw_query) return what you want?
--
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 post to this group,
>From the django project web site, I am trying to implement the following
code and have it spit out the dictionary form of the sql.
Does anyone have an example of how this is done.
The code below is from the project web page
https://docs.djangoproject.com/en/1.7/topics/db/sql/
When I execute
3 matches
Mail list logo