masschallenge/django-accelerator

View on GitHub
accelerator/models/application_panel_assignment.py

Summary

Maintainability
A
50 mins
Test Coverage
A
100%
from __future__ import unicode_literals

import swapper

from accelerator_abstract.models.base_application_panel_assignment import (
    BaseApplicationPanelAssignment
)


class ApplicationPanelAssignment(BaseApplicationPanelAssignment):
    class Meta(BaseApplicationPanelAssignment.Meta):
        swappable = swapper.swappable_setting(
            BaseApplicationPanelAssignment.Meta.app_label,
            "ApplicationPanelAssignment")