CSRF tag and ResponseContext and if/else logic for views.upload