Browse Source
- Moved the `get_admin_namespace` function from `admin_access.py` to a new `config.middleware` module for better organization and reusability. - Updated `AdminAccessMiddleware` to utilize the centralized `get_admin_namespace` function, enhancing code maintainability. - Improved documentation for the `get_admin_namespace` function to clarify its usage and purpose.master
2 changed files with 23 additions and 14 deletions
Loading…
Reference in new issue