mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 14:16:21 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7412675bfb | ||
|
|
ad953efe77 | ||
|
|
5b26757662 | ||
|
|
8486b95917 |
@@ -1,7 +1,7 @@
|
|||||||
# This will make sure the app is always imported when
|
# This will make sure the app is always imported when
|
||||||
# Django starts so that shared_task will use this app.
|
# Django starts so that shared_task will use this app.
|
||||||
|
|
||||||
__version__ = '2.8.7'
|
__version__ = '2.8.8'
|
||||||
__title__ = 'Alliance Auth'
|
__title__ = 'Alliance Auth'
|
||||||
__url__ = 'https://gitlab.com/allianceauth/allianceauth'
|
__url__ = 'https://gitlab.com/allianceauth/allianceauth'
|
||||||
NAME = '%s v%s' % (__title__, __version__)
|
NAME = '%s v%s' % (__title__, __version__)
|
||||||
|
|||||||
@@ -30,5 +30,10 @@ class DiscordUserAdmin(ServicesUserAdmin):
|
|||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
|
def delete_queryset(self, request, queryset):
|
||||||
|
for user in queryset:
|
||||||
|
user.delete_user()
|
||||||
|
|
||||||
_username.short_description = 'Discord Username'
|
_username.short_description = 'Discord Username'
|
||||||
_username.admin_order_field = 'username'
|
_username.admin_order_field = 'username'
|
||||||
Reference in New Issue
Block a user