Update admin.py decorators
- Changed all @require_admin to @admin_required in admin.py - Now uses the decorator from utils.py instead of auth.py
Showing
Please
register
or
sign in
to comment
- Changed all @require_admin to @admin_required in admin.py - Now uses the decorator from utils.py instead of auth.py