rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,11 @@
---
description: Provides additional instructions for HTMX and Flask, primarily related to templating.
globs: templates/**/*.*
---
- Use Jinja2 templating with HTMX attributes
- Implement proper CSRF protection with Flask-WTF
- Utilize Flask's request object for handling HTMX requests
- Use Flask-Migrate for database migrations
- Implement proper error handling and logging
- Follow Flask's application factory pattern
- Use environment variables for configuration
@@ -0,0 +1,16 @@
---
description: Enforces a standard folder structure for Flask projects with Python files.
globs: *.py
---
- Define the following folder structure:
app/
templates/
static/
css/
js/
models/
routes/
__init__.py
config.py
run.py
@@ -0,0 +1,10 @@
---
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