all AI news
Enforcing conventions in Django projects with introspection
April 3, 2024, 2:58 p.m. |
Simon Willison's Weblog simonwillison.net
Enforcing conventions in Django projects with introspection
Luke Plant shows how to use the Django system checks framework to introspect models on startup and warn if a DateTime or Date model field has been added that doesn't conform to a specific naming convention.
Luke also proposes "*_at" as a convention for DateTimes, contrasting with "*_on" or "*_date" (I prefer the latter) for Dates.
Via lobste.rs
checks convention datetime django framework projects shows startup
More from simonwillison.net / Simon Willison's Weblog
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Senior Data Engineer
@ Quantexa | Sydney, New South Wales, Australia
Staff Analytics Engineer
@ Warner Bros. Discovery | NY New York 230 Park Avenue South