Remove allow_tag as it's not needed anymore

This commit is contained in:
Mounir 2018-04-30 14:49:43 +02:00 committed by GitHub
parent f9cc65c152
commit 0e4c66f395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,15 +118,11 @@ class HcUserAdmin(UserAdmin):
return result
engagement.allow_tags = True
@mark_safe
def checks(self, user):
url = reverse("hc-switch-team", args=[user.username])
return "<a href='%s'>Checks</a>" % url
checks.allow_tags = True
def send_report(self, request, qs):
for user in qs:
user.profile.send_report()