postgresql when it's not your job

12:00

Django: dictionary update sequence element #0 has length 1; 2 is required

4 January 2017

(One of an occasional series of posts about strange errors you can get out of Django, and what it is trying to tell you.)

This exception was being thrown when I was trying to render a template:

dictionary update sequence element #0 has length 1; 2 is required

It turned out to be a slightly bad url() in a urlconf. I had forgotten the name= before the URL’s name. Oops!

Comments are closed.