Skip to content

suqi/django-lb-workflow

 
 

Repository files navigation

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

Testing

Running the test suite is as simple as:

make test

Run test project

Running the test suite is as simple as:

pip install -r testproject/requirements.txt
python testproject/manager.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.

About

Reusable workflow library for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.8%
  • HTML 16.7%
  • Other 0.5%