Source

gnocchi-blog / gnocchi / blog / models.py

Diff from to

File gnocchi/blog/models.py

 
     class Meta:
         ordering = ('-post_date',)
+
     def __unicode__(self):
         return self.title
+
     @models.permalink
     def get_absolute_url(self):
         kwargs = {'slug': self.slug,}
 
     class Meta:
         ordering = ('post_date',)
+
     def __unicode__(self):
         return u'%s...' % self.content[:50]