masschallenge/django-accelerator

View on GitHub
accelerator/models/job_posting.py

Summary

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

import swapper

from accelerator_abstract.models import BaseJobPosting


class JobPosting(BaseJobPosting):
    class Meta(BaseJobPosting.Meta):
        swappable = swapper.swappable_setting(BaseJobPosting.Meta.app_label,
                                              'JobPosting')