stash
This commit is contained in:
parent
a39802b5bf
commit
6b47ebc50c
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue