Upgrade to Pro — share decks privately, control downloads, hide ads and more …

This Old Pony: Working with Legacy Django Projects

This Old Pony: Working with Legacy Django Projects

DjangoCon 2016: "Legacy" is a word that produces fear in many software developers. However it means nothing more than software that already exists, and you're probably working with it already, admit it or not. We'll take a tour through what legacy Django projects look like, how to approach them, and how to work on them while keeping your wits.

Ben Lopatin

July 20, 2016
Tweet

More Decks by Ben Lopatin

Other Decks in Programming

Transcript

  1. [tox] envlist = flake8, deployed, py27-django{19,18,17} [testenv] setenv = PYTHONPATH

    = {toxinidir} commands = python manage.py test deps = django17: Django>=1.7,<1.8 django18: Django>=1.8,<1.9 django19: Django>=1.9,<1.10 -r{toxinidir}/requirements/base.txt
  2. {

  3. $ pur -r requirements.txt Updated flask: 0.9 -> 0.10.1 Updated

    sqlalchemy: 0.9.10 -> 1.0.12 Updated alembic: 0.8.4 -> 0.8.6 All requirements up-to-date.