facundoolano / feedi

A personal news aggregator and Mastodon client
GNU Affero General Public License v3.0
888 stars 28 forks source link

Add proper form validations and rendering #74

Open facundoolano opened 9 months ago

facundoolano commented 9 months ago

The feed submit form in particular has non-exhaustive, ad hoc validation code, and its template some conditional logic that could perhaps be simplified or at least make more readable by introducing WTForms, wtforms-sqlalchemy, wtforms-alchemy or some other similar library.