update function name
parent
d3f6fc4e86
commit
30a57d1461
|
@ -3,7 +3,7 @@ from django.contrib.auth.models import User
|
||||||
from django.contrib.auth.models import Group
|
from django.contrib.auth.models import Group
|
||||||
|
|
||||||
from .models import Townie, Pubkey
|
from .models import Townie, Pubkey
|
||||||
from common.social import post_to_social
|
from common.social import post_users_to_social
|
||||||
|
|
||||||
admin.site.unregister(User)
|
admin.site.unregister(User)
|
||||||
admin.site.unregister(Group)
|
admin.site.unregister(Group)
|
||||||
|
@ -16,7 +16,7 @@ def bulk_review(madmin, req, qs):
|
||||||
for townie in qs:
|
for townie in qs:
|
||||||
townie.reviewed = True
|
townie.reviewed = True
|
||||||
townie.save()
|
townie.save()
|
||||||
post_to_social(qs)
|
post_users_to_social(qs)
|
||||||
|
|
||||||
bulk_review.short_description = 'mark selected townies as reviewed'
|
bulk_review.short_description = 'mark selected townies as reviewed'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue