def get(self, request, app_id):
        context = self.get_context_data(app_id)
        app = context.pop('application', None)

        if app is not None:
            app.delete()

            messages.success(self.request, "The application has been deleted.")
            url = reverse('admin:app_overview')
            return HttpResponseRedirect(url)

        return self.render_to_response(context)
Validate by default and return result
dataset/ETHPy150Open ExCiteS/geokey/geokey/applications/views.py/ApplicationDelete.get--crossover with--dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/Result.get_result