JF's Dev Blog

Django, Vue, and other things, too

How to Write Responsive HTML Tables (for Markdown Sites)

Learn how to make HTML tables more responsive in Markdown-generated static sites by shrinking the number of columns, or smushing columns together, wrapping column content across lines, or shrinkwrapping the table in a scrolling div.

Continue reading »

Run New and Failing Tests on File Change with Pytest

See how to pair Pytest and pytest-watch to run failing unit tests and new tests automatically on file changes without running the whole test suite.

Continue reading »

Improve Page Speed when Using Google Fonts

Google Fonts are a convenient way to personalize a website's look, but they slow down page loads. Learn how to use Google Fonts without sacrifing too much in page speed.

Continue reading »

Pipenv and Poetry: Benchmarks & Ergonomics II

Pipenv and Poetry are next-generation Python dependency management tools, but only one is actively released. See how they compare in late 2019.

Continue reading »

Use TypeScript to Synchronize Django REST Framework and Vue.js | Part I: Generating API Metadata

By extending Django REST Framework's default metadata class, we can unlock useful information about your API models and export that data into a client-friendly JSON format.

Continue reading »

Create and Publish a Python Package with Poetry

Poetry, a next-generation Python packaging tool, makes it easy to create and publish a Python package.

Continue reading »

Integrate Django and Vue.js

With a small amount of configuration, Django and Vue.js can play together nicely during development and when you're ready to go live.

Continue reading »

Human-Readable Python Regular Expressions

Regular expressions are ugly, complex, dense, and illegible—but they don't have to be. These Python classes can help compose human-readable regex patterns.

Continue reading »

Pipenv and Poetry: Benchmarks & Ergonomics

Pipenv and Poetry are next-generation Python dependency management tools. This post benchmarks each tool's dependency management commands and compares their ergonomics.

Continue reading »

Build and Deploy a Static Site with Dokku

How to set up a modern static site deployment strategy using Dokku and multiple buildpacks.

Continue reading »

Page 1 / 2 »