Skip to content
Reusable workflow library for Django
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lbworkflow fix flake8 E722 Aug 15, 2018
testproject
.coveragerc ignore migrations for coverage Apr 19, 2017
.gitignore ignore lbattchments Apr 25, 2017
.pre-commit-config.yaml
.travis.yml
Dockerfile add pipenv support Jun 8, 2018
LICENSE
MANIFEST.in
Makefile
Pipfile add django-stronghold to pipenv Jun 14, 2018
Pipfile.lock add django-stronghold to pipenv Jun 14, 2018
README.rst
runtests.py
setup.cfg
setup.py
tox.ini add jinja2 to toe Apr 30, 2017

README.rst

django-lb-workflow

https://secure.travis-ci.org/vicalloy/django-lb-workflow.svg?branch=master https://coveralls.io/repos/github/vicalloy/django-lb-workflow/badge.svg?branch=master

Reusable workflow library for Django.

django-lb-workflow supports Django 1.10+ on Python 3.4+.

https://github.com/vicalloy/django-lb-workflow/raw/master/docs/_static/demo-flow.png

Demo site

Demo site: http://wf.haoluobo.com/

username: admin password: password

Switch to another user: http://wf.haoluobo.com/impersonate/search

Stop switch: http://wf.haoluobo.com/impersonate/stop

Documentation

Read the official docs here: http://django-lb-workflow.readthedocs.io/en/latest/

Installation

Workflow is on PyPI so all you need is:

pip install django-lb-workflow

Pipenv

Install pipenv and create a virtualenv:

pip3 install pipenv
make pyenv

Spawns a shell within the virtualenv:

pipenv shell

Testing

Running the test suite is as simple as:

make test

Run test project

Running the test project is as simple as:

python testproject/manage.py bower_install
python testproject/wfgen.py
make run

Demo for create a new flow

You can find demo code in lbworkflow/tests/leave.

testproject/wfgen.py is a demo for how to generate base code for a flow. The model for this flow is in /lbworkflow/tests/issue.

You can’t perform that action at this time.