##// END OF EJS Templates
Fixed post admin
neko259 -
r1885:f572a8a2 default
parent child Browse files
Show More
@@ -60,7 +60,7 b' class PostAdmin(admin.ModelAdmin):'
60 linked_global_id.allow_tags = True
60 linked_global_id.allow_tags = True
61
61
62 def tags(self, obj: Post):
62 def tags(self, obj: Post):
63 return ', '.join([tag.name for tag in obj.get_tags()])
63 return ', '.join([tag.get_name() for tag in obj.get_tags()])
64
64
65 def save_model(self, request, obj, form, change):
65 def save_model(self, request, obj, form, change):
66 obj.increment_version()
66 obj.increment_version()
General Comments 0
You need to be logged in to leave comments. Login now