Mostly doing Python/Flask web dev these days for amateur projects.
Pinned Loading
-
tachyondecay.net-mirror
tachyondecay.net-mirror PublicPublic mirror of the codebase for my blog (tachyondecay.net) and book review sites (kara.reviews).
SCSS
-
DateTime WTForms field that assumes ...
DateTime WTForms field that assumes input is in local time and converts to UTC for storage 1# Requires Arrow package
23class DateTimeWidget:
4"""Widget for DateTimeFields using separate date and time inputs."""
5def __call__(self, field, **kwargs):
-
Tags in Flask via SQLalchemy and ass...
Tags in Flask via SQLalchemy and association proxies 1from app import db
2from sqlalchemy import desc, event, func, orm
3from sqlalchemy.ext.associationproxy import association_proxy
4from sqlalchemy.ext.declarative import declared_attr
5from sqlalchemy_utils import ArrowType, auto_delete_orphans
-
DateTimeForm: Combined date/time HTM...
DateTimeForm: Combined date/time HTML5 inputs for WTForms 1import datetime
23from wtforms import Form, StringField
4from wtforms.fields.html5 import DateField
5from wtforms.widgets.html5 import TimeInput
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.