Commit b36bd585 authored by Alexander Færøy's avatar Alexander Færøy 🍍
Browse files

Don't delete approved items.

parent d5971e80
......@@ -25,7 +25,8 @@ def approve(modeladmin, request, queryset):
print("Error: {}".format(e))
item.approved = True
approve.short_description = "Approve account requests"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment