diff --git a/ttadmin/users/admin.py b/ttadmin/users/admin.py index 2ff3ce9..82ff673 100644 --- a/ttadmin/users/admin.py +++ b/ttadmin/users/admin.py @@ -3,6 +3,7 @@ from django.contrib.auth.models import User from django.contrib.auth.models import Group from .models import Townie, Pubkey +from common.social import post_to_social admin.site.unregister(User) admin.site.unregister(Group) @@ -15,6 +16,7 @@ def bulk_review(madmin, req, qs): for townie in qs: townie.reviewed = True townie.save() + post_to_social(qs) bulk_review.short_description = 'mark selected townies as reviewed'