tessl install tessl/pypi-flask-admin@1.6.0Simple and extensible admin interface framework for Flask
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.3x
Baseline
Agent success rate without this tile
66%
Build an admin interface for managing user profiles with a custom form layout that organizes fields into logical sections.
Create a Flask application with an admin interface for a User model that includes the following fields:
The form layout must be customized to organize these fields into three distinct sections:
Additionally, the edit form should have a different layout than the create form:
@generates
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
# Flask application with admin interface
app = Flask(__name__)
db = SQLAlchemy()
# User model with all specified fields
class User(db.Model):
pass
# Admin view with custom form layout
class UserAdmin:
passProvides admin interface framework with form layout customization capabilities.