masschallenge/django-accelerator

View on GitHub
accelerator/models/application_question.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
from __future__ import unicode_literals

import swapper

from accelerator_abstract.models import BaseApplicationQuestion
from accelerator_abstract.models.accelerator_model import AcceleratorModel


class ApplicationQuestion(BaseApplicationQuestion):
    class Meta(AcceleratorModel.Meta):
        swappable = swapper.swappable_setting(
            BaseApplicationQuestion.Meta.app_label, "ApplicationQuestion")