Talk Python To Me cover image

#48: Building Flask-based Web Apps

Talk Python To Me

00:00

Flask Moment Extension for Ginger Templates

Flask moment allows you to use moment JS on the client to render. So for example, you can do these very cool three seconds ago, three minutes ago, timestamps that are very friendly with this extension. You can implement those in ginger templates. All the extension does is generates the JavaScript that then runs on the client. But at least you have control of it from the server side.

Play episode from 40:11
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app