Commits

Josh VanderLinden committed 198d5e5

Fixed a problem with the Django admin calling a 'clean' method, which I had turned into a property

Comments (0)

Files changed (1)

articles/models.py

         return ('articles_display_tag', (self.clean,))
 
     @property
-    def clean(self):
+    def cleaned(self):
         """Returns the clean version of the tag"""
 
         return self.slug or Tag.clean_tag(self.name)
 
     @property
     def rss_name(self):
-        return u'tags/%s' % self.clean
+        return u'tags/%s' % self.cleaned
 
     class Meta:
         ordering = ('name',)