masschallenge/django-accelerator

View on GitHub
accelerator/models/bucket_state.py

Summary

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

import swapper

from accelerator_abstract.models.base_bucket_state import BaseBucketState


class BucketState(BaseBucketState):
    class Meta(BaseBucketState.Meta):
        swappable = swapper.swappable_setting(
            BaseBucketState.Meta.app_label, "BucketState")