summaryrefslogtreecommitdiff
path: root/app/pages/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/pages/models.py')
-rw-r--r--app/pages/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/pages/models.py b/app/pages/models.py
index 8caa29e..fac815c 100644
--- a/app/pages/models.py
+++ b/app/pages/models.py
@@ -1,6 +1,7 @@
import re
from django.db import models
from django.contrib.sitemaps import Sitemap
+from django.contrib.sites.models import Site
from photos.models import LuxImage
from posts.models import Post
@@ -18,6 +19,7 @@ class Page(models.Model):
app = models.CharField(max_length=50, blank=True)
build = models.BooleanField(default=True)
enable_comments = models.BooleanField(default=False)
+ site = models.ForeignKey(Site, on_delete=models.CASCADE)
def __str__(self):
return self.title