Workaround for django.shorcuts Bug