MetaPhase-Consulting/State-TalentMAP-API

View on GitHub
talentmap_api/administration/models.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from django.db import models


class HomepageBanner(models.Model):
    '''
    The banner for the homepage
    '''
    text = models.TextField(help_text="The text for the banner")
    is_visible = models.BooleanField(default=False)

    class Meta:
        managed = True


class AboutPage(models.Model):
    '''
    About page content
    '''
    content = models.TextField(help_text="The content of the about page")

    class Meta:
        managed = True