Fixed `dictionary update sequence element #0 has length 1; 2 is required` issue in Django 1.4.5