mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-27 21:22:55 +08:00
7 lines
372 B
Plaintext
7 lines
372 B
Plaintext
---
|
|
description: Guidelines for Django forms, focusing on form handling, validation, and model form usage.
|
|
globs: **/forms.py
|
|
---
|
|
- Utilize Django's form and model form classes for form handling and validation.
|
|
- Use Django's validation framework to validate form and model data.
|
|
- Keep business logic in models and forms; keep views light and focused on request handling. |