Changes between Initial Version and Version 1 of Ticket #10070, comment 13
- Timestamp:
- Aug 4, 2015, 6:16:24 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10070, comment 13
initial v1 2 2 3 3 named parameters do currently work with some db interfaces but the code breaks on the __repr__() method of a RawQuerySet: 4 4 {{{ 5 5 param = dict(lname = 'Doe') 6 6 qs = Person.objects.raw('SELECT * FROM myapp_person WHERE last_name = %(lname)s', param) … … 17 17 18 18 TypeError: format requires a mapping 19 19 }}}