2👍
If you are using SQLite3, for some reason syntax %(name)s
will not work.
You have to use :name
syntax instead if you want to pass your params as {"name":"value"}
dictionary.
It’s contrary to the documentation, that states the first syntax should work with all DB engines.
Heres the source of the issue:
https://code.djangoproject.com/ticket/10070#comment:18
- Django and service workers – serve "sw.js" at application's root url
- Display and format Django DurationField in template
- Pylint (pylint_django) does not work when –django-settings-module flag is specified
Source:stackexchange.com