diff options
Diffstat (limited to 'app/pages/models.py')
-rw-r--r-- | app/pages/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pages/models.py b/app/pages/models.py index 707892c..73c33dd 100644 --- a/app/pages/models.py +++ b/app/pages/models.py @@ -15,7 +15,7 @@ class Page(models.Model): app = models.CharField(max_length=50, null=True, blank=True) build = models.BooleanField(default=True) - def __unicode__(self): + def __str__(self): return self.title def get_absolute_url(self): |