masschallenge/django-accelerator

View on GitHub
accelerator/models/file_page.py

Summary

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

import swapper

from accelerator_abstract.models.base_file_page import BaseFilePage


class FilePage(BaseFilePage):
    class Meta(BaseFilePage.Meta):
        swappable = swapper.swappable_setting(
            BaseFilePage.Meta.app_label, "FilePage")