fix for django 1.5
defaults has been removed in Django 1.6