The swingtime documentation assumes familiarity with and installation of Python deployment tools pip, virtualenv, and virtualenvwrapper.

Get Swingtime

Basic Installation

Install into the current environment:

$ pip install django-swingtime


  • Get the code:

    $ git clone django-swingtime
    $ cd django-swingtime
  • Or, download:

    $ curl -o -L
    $ unzip
    $ cd django-swingtime-main
  • Environment:

    $ python -m venv venv
    $ . venv/bin/activate
    $ pip install tox
    $ tox -e dev
  • Test

    Assuming you have pyenv installed and the following versions installed (x would be your installed patch version):

    $ pyenv local 3.8.x 3.9.x 3.10.x 3.11.x 3.12.x
    $ tox  # or...
    $ tox -e py38-django3.2  # build and test only Python 3.8 and Django 3.2
  • Documentation

    $ tox -e docs

    Browse the file docs/index.html.