manually delete prefix instead of using clear_script_prefix for Django 1.4