FSW is a collection of tools for using Flask, SQLAlchemy, and WTForms together.
bhushan-mohanraj / fsw Goto Github PK
View Code? Open in Web Editor NEWA modular Flask toolkit.
License: MIT License
A modular Flask toolkit.
License: MIT License
Since some code lacks type annotations, fill in missing annotations and use mypy
(strict) for type checking.
The current method of selecting a column converter does not allow custom converters to be used.
Lines 140 to 150 in 076d071
Create a WTForms field which converts the value from an HTML datetime-local
field to UTC.
Create helper functions (in the module fsw.helpers
) for loading and updating model and form data with Python dictionaries.
fill
function should update the attributes of instance
using the dictionary values
.get_model_instance_dictionary
function should return a dictionary of the column values of a model instance, using the attribute names as keys.get_form_instance_dictionary
function should return a dictionary of the field values of a form instance, using the attribute names as keys.DeleteModelMixin
that adds a delete
method to models, which deletes a model instance from the database.SoftDeleteModelMixin
that adds an is_deleted
boolean field or a delete_time
time field to models. The delete
method should set is_deleted
to True
or delete_time
to the current time. The delete_time
field could be named deleted_time
or deleted_at
.Revamp the changelog (CHANGES.md
) to start with version 0.3.
Create guides for various Flask patterns, including the following.
alembic
.flask
and click
.render_fields
Jinja macro that renders each field bound to a form.bhushan-mohanraj/math-club
and greyli/bootstrap-flask
).Fix the remaining Pylint warnings, or explicitly ignore them where needed.
Upload FSW to PyPI. Since the fsw
package is taken, upload FSW as bhushan-mohanraj-fsw
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.