django-sql-queries-1.0.1


توضیحات

Middleware to print out all SQL queries done, their count and execution time for each view that is processed for a request
ویژگی مقدار
سیستم عامل OS Independent
نام فایل django-sql-queries-1.0.1
نام django-sql-queries
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Aman Prajapati
ایمیل نویسنده techieaman94@gmail.com
آدرس صفحه اصلی https://github.com/techieaman94/django-db-queries
آدرس اینترنتی https://pypi.org/project/django-sql-queries/
مجوز MIT
# Django SQL Queries This project provides a middleware which can be used in django projects to print all SQL queries, their count and execution time for processed view before returning response for a request. ## How to use: 1. Install python 3.7 or greater on your system using [pyenv](https://github.com/pyenv/pyenv) 2. Activate your project's virtual environment for installing this library ```shell $ source <virtualenv-path>/bin/activate ``` 3. Install the package by running following command ```shell $ pip install django-sql-queries ``` 4. Add in the list of middlewares of django project ```shell MIDDLEWARE.append("django_sql_queries.middleware.SQLPrinterMiddleware") ```


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl django-sql-queries-1.0.1:

    pip install django-sql-queries-1.0.1.whl


نصب پکیج tar.gz django-sql-queries-1.0.1:

    pip install django-sql-queries-1.0.1.tar.gz