X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8315186b58e7fb5ff12472eff11fb6e0a789a51e..cc2232ac1fe0497203e386521cb91c01c83060ea:/contrib/penfield/models.py diff --git a/contrib/penfield/models.py b/contrib/penfield/models.py index ec8ba69..d1695e7 100644 --- a/contrib/penfield/models.py +++ b/contrib/penfield/models.py @@ -50,7 +50,7 @@ class BlogView(MultiView): entry_archive_page = models.ForeignKey(Page, related_name='blog_entry_archive_related', null=True, blank=True) tag_page = models.ForeignKey(Page, related_name='blog_tag_related') tag_archive_page = models.ForeignKey(Page, related_name='blog_tag_archive_related', null=True, blank=True) - entries_per_page = models.IntegerField(blank=True, validators=[validate_pagination_count]) + entries_per_page = models.IntegerField(blank=True, validators=[validate_pagination_count], null=True) entry_permalink_style = models.CharField(max_length=1, choices=ENTRY_PERMALINK_STYLE_CHOICES) entry_permalink_base = models.CharField(max_length=255, blank=False, default='entries')