BMAD-METHOD/.claude/rules/python-django-best-practice.../django-middleware.mdc

6 lines
347 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: Guidance on using Django middleware for cross-cutting concerns like authentication, logging, and caching.
globs: **/middleware.py
---
- Use middleware judiciously to handle cross-cutting concerns like authentication, logging, and caching.
- Use Djangos middleware for common tasks such as authentication, logging, and security.