Files
main/rules-v0-deprecated/htmx-flask-cursorrules-prompt-file/htmx-and-flask-best-practices.mdc
2025-03-03 23:40:27 +05:30

10 lines
407 B
Plaintext

---
description: Applies best practices for HTMX and Flask development within the app directory.
globs: app/**/*.*
---
- Use Flask's render_template for server-side rendering
- Implement Flask-WTF for form handling
- Utilize Flask's url_for for generating URLs
- Use Flask's jsonify for JSON responses
- Implement Flask-SQLAlchemy for database operations
- Utilize Flask's Blueprint for modular applications