masschallenge/django-accelerator

View on GitHub
accelerator/models/program_family.py

Summary

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

import swapper

from accelerator_abstract.models import BaseProgramFamily


class ProgramFamily(BaseProgramFamily):
    class Meta(BaseProgramFamily.Meta):
        swappable = swapper.swappable_setting(
            BaseProgramFamily.Meta.app_label, "ProgramFamily")