Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1009 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 1009 Bytes

Common Table Expressions with Django

Build Status PyPI version

Installation

pip install django-cte

Documentation

The django-cte documentation shows how to use Common Table Expressions with the Django ORM.

Running tests

cd django-cte
mkvirtualenv cte  # or however you choose to setup your environment
pip install django pynose flake8

nosetests
flake8 --config=setup.cfg

All feature and bug contributions are expected to be covered by tests.

Uploading to PyPI

Package and upload the generated files. This assumes the django-cte repository has been configured in ~/.pypirc.

pip install -r pkg-requires.txt

python setup.py sdist bdist_wheel
twine upload --repository=django-cte dist/*