1. Curtis Maloney
  2. gnocchi-blog

Commits

Comments (0)

Files changed (1)

File gnocchi/blog/admin.py Modified

View file
  • Ignore whitespace
  • Hide word diff
 
     def auto_tag(self, request, queryset):
         for post in queryset:
-            tags = post.tags.all()
+            tags = set(post.tags.all())
             tags.update([
                 tag
                 for tag in TaggedItem.tags_for(models.Post)