Read the Documentation

A blog about learning new things. Browse all posts.

Results for: All posts

Storing blog posts on the file system


To ease the writing and editing of blog posts, the text of the post can be retrieved from a file on the server, rather than through the database.

Blog tags with Flask and Flask-SQLAlchemy


Tags are a ubiquitous feature on blogs, or any site that produces content that can be categorized and searched. Starting with a simple blog framework, tags can be added with a few additions to the database models, and updating the views that interact with blog posts (displaying, creating, searching).