Permalink
Browse files

keep constraint

  • Loading branch information...
fivethreeo committed Nov 16, 2011
1 parent 4995037 commit b27753f1f9d7ee68940329d3b47fd8f76ba50772
Showing with 2 additions and 0 deletions.
  1. +2 −0 cmsplugin_blog/models.py
View
@@ -121,6 +121,7 @@ class EntryTitle(AbstractEntryTitle):
class Meta:
verbose_name = _('blogentry')
verbose_name_plural = _('blogentries')
+ unique_together = ('language', 'slug')
class LatestEntriesPlugin(CMSPlugin):
"""
@@ -130,3 +131,4 @@ class LatestEntriesPlugin(CMSPlugin):
help_text=_('Limits the number of items that will be displayed'))
current_language_only = models.BooleanField(_('Only show entries for the current language'))
+ tagged = models.CharField(max_length=255, blank=True)

0 comments on commit b27753f

Please sign in to comment.