FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Using tox to Test a Django App Across Multiple Django Versions
How-ToProgramming Languages

Using tox to Test a Django App Across Multiple Django Versions

via Dev.to PythonAidas Bendoraitis1mo ago

Recently, I developed a reusable Django app django-clearplaintext for normalizing plain text in Django templates. And to package and test it properly, I had a fresh look to Tox. Tox is the standard testing tool that creates isolated virtual environments, installs the exact dependencies you specify, and runs your test suite in each one — all from a single command. This post walks through a complete, working setup using a minimal example app called django-shorturl . The Example App: django-shorturl django-shorturl is a self-contained Django app with one model and one view. shorturl/models.py from django.db import models from django.utils.translation import gettext_lazy as _ class ShortLink ( models . Model ): slug = models . SlugField ( _ ( " slug " ), unique = True ) target_url = models . URLField ( _ ( " target URL " )) created_at = models . DateTimeField ( _ ( " created at " ), auto_now_add = True ) class Meta : verbose_name = _ ( " short link " ) verbose_name_plural = _ ( " short lin

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
22 views

Related Articles

What You Need to Know About Building an Outdoor Sauna (2026)
How-To

What You Need to Know About Building an Outdoor Sauna (2026)

Wired • 9h ago

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 14h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 15h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 17h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 17h ago

Discover More Articles