Temporary solution to Django 1.5rc bug