(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:

1dictionary 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!