Fixed use with Django 1.4