- .svg?branch=master
target: https://travis-ci.org/igui/django-test-query-counter
- /graph/badge.svg
target: https://codecov.io/gh/igui/django-test-query-counter
A Django Toolkit for controlling Query count when testing
The full documentation is at https://django-test-query-counter.readthedocs.io.
Install Django Test Query Counter:
pip install django-request-query-count
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'request_query_count',
...
)
Add Django Test Query Counter's URL patterns:
from test_query_counter import urls as test_query_counter_urls
urlpatterns = [
...
url(r'^', include(test_query_counter_urls)),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: