Source code for shuup.admin.modules.service_providers.forms

# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import unicode_literals

from shuup.admin.forms import ShuupAdminForm
from shuup.core.models import CustomCarrier, CustomPaymentProcessor


[docs]class CustomCarrierForm(ShuupAdminForm):
[docs] class Meta: model = CustomCarrier exclude = ("identifier",)
[docs]class CustomPaymentProcessorForm(ShuupAdminForm):
[docs] class Meta: model = CustomPaymentProcessor exclude = ("identifier",)