Source code for shoop.admin.modules.service_providers.views._delete

# -*- coding: utf-8 -*-
# This file is part of Shoop.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.

from django.core.urlresolvers import reverse_lazy
from django.views.generic import DeleteView

from shoop.core.models import ServiceProvider


[docs]class ServiceProviderDeleteView(DeleteView): model = ServiceProvider success_url = reverse_lazy("shoop_admin:service_provider.list")