from django.db import models

# Create your models here.

@@ -8,50 +8,539 @@
 ango
-.db import models%0A%0A# Create your models here.
+_enumfield import enum%0Afrom elasticsearch_dsl import field%0A%0Afrom django.db import models%0A%0Afrom djes.models import Indexable%0A%0Afrom .enum import Status, TemplateType%0A%0A%0Aclass Page(Indexable):%0A%0A    name = models.CharField(max_length=255)%0A    slug = models.SlugField(unique=True)%0A    notes = models.TextField()%0A    status = enum.EnumField(Status)%0A    publish_date = models.DateTimeField(blank=True, null=True)%0A    template_type = enum.EnumField(TemplateType)%0A    tunic_campaign_id = models.IntegerField(blank=True, null=True, default=None)
 %0A

check in page model