This commit is contained in:
j3d1 2024-05-02 22:53:13 +02:00
parent 059ded15a1
commit f1e4cbff11
2 changed files with 4 additions and 1 deletions

View file

@ -10,5 +10,8 @@ class ExtendedUserAdmin(UserAdmin):
ordering = ('username',)
filter_horizontal = ('groups', 'user_permissions', 'permissions')
# def permissions(self, obj):
# return ', '.join(obj.get_all_permissions())
admin.site.register(ExtendedUser, ExtendedUserAdmin)

View file

@ -21,7 +21,7 @@ async def telegram_notify(message, chat_id):
async def email_notify(message, email):
mail = await make_notification(message, email)
mail = make_notification(message, email)
await send_smtp(mail)