from django.db import models
from cms.models import CMSPlugin
from django.utils.translation import ugettext_lazy as _


class Update(models.Model):
    """
    Defines a date on which updates were made.
    """
    date = models.DateField(_('Update Date'))

    def __unicode__(self):
        return unicode(self.date)

    class Meta:
        verbose_name = 'update'
        verbose_name_plural = 'updates'
        app_label = 'updates'


class UpdateItem(models.Model):
    """
    Defines one or many items that were updated on a single date.
    """
    update = models.ForeignKey(Update)
    item = models.CharField(_('Update Item'), max_length=256)
    description = models.TextField(
        _('Item Description (Optional)'),
        help_text="This field is optional and should only be used when the description is too long for the sidebar plugin.",
        null=True,
        blank=True
    )

    def __unicode__(self):
        return self.item

    class Meta:
        verbose_name = 'updateitem'
        verbose_name_plural = 'updateitems'
        app_label = 'updates'


class UpdatesPlugin(CMSPlugin):
    NUMBER_CHOICES = (
        (5, 5),
        (10, 10),
        (25, 25),
        (100, 100),
    )
    number_to_show = models.IntegerField(
        max_length=10, choices=NUMBER_CHOICES)

@@ -253,39 +253,35 @@
 e'))%0A%0A    def __
-unicode
+str
 __(self):%0A      
@@ -289,23 +289,19 @@
  return 
-unicode
+str
 (self.da
@@ -902,15 +902,11 @@
 f __
-unicode
+str
 __(s

Update __unicode__ to __str__