Commits

Maciej Wiśniowski committed 2986962

change format of month

Comments (0)

Files changed (1)

dj_banner/models.py

         return '%d-%d' % (self.year, self.month)
 
     def __unicode__(self):
-        return u'%d-%d' % (self.year, self.month)
+        return u'%d-%.2d' % (self.year, self.month)
 
     class Meta:
         unique_together = ('month', 'year')