masschallenge/django-accelerator

View on GitHub
accelerator/models/startup_attribute.py

Summary

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

import swapper

from accelerator_abstract.models.base_startup_attribute import (
    BaseStartupAttribute
)


class StartupAttribute(BaseStartupAttribute):
    class Meta(BaseStartupAttribute.Meta):
        swappable = swapper.swappable_setting(
            BaseStartupAttribute.Meta.app_label, "StartupAttribute")