معرفی شرکت ها


django-debug-toolbar-template-profiler-2.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Displays template rendering time on the timeline
ویژگی مقدار
سیستم عامل -
نام فایل django-debug-toolbar-template-profiler-2.1.0
نام django-debug-toolbar-template-profiler
نسخه کتابخانه 2.1.0
نگهدارنده ['Adam Johnson']
ایمیل نگهدارنده ['me@adamj.eu']
نویسنده Sergej Alikov
ایمیل نویسنده sergej.alikov@gmail.com
آدرس صفحه اصلی https://github.com/node13h/django-debug-toolbar-template-profiler
آدرس اینترنتی https://pypi.org/project/django-debug-toolbar-template-profiler/
مجوز Simplified BSD License
====================================== django-debug-toolbar-template-profiler ====================================== .. image:: https://img.shields.io/pypi/v/django-debug-toolbar-template-profiler.svg :target: https://pypi.python.org/pypi/django-debug-toolbar-template-profiler An extra panel for `django-debug-toolbar <https://django-debug-toolbar.readthedocs.io>`__ that displays time spent rendering each template. For example: .. image:: https://raw.githubusercontent.com/node13h/django-debug-toolbar-template-profiler/master/screenshot.png Installation ============ First, you'll need to install and configure django-debug-toolbar as per its `installation instructions <https://django-debug-toolbar.readthedocs.io/en/latest/installation.html>`__. Second, install this package: .. code-block:: sh pip install django-debug-toolbar-template-profiler Third, add it to your installed apps - order doesn't matter but after `debug_toolbar` will keep it neatly grouped: .. code-block:: python INSTALLED_APPS = [ # ... "debug_toolbar", "template_profiler_panel", # ... ] Fourth, configure django-debug-toolbar's ``DEBUG_TOOLBAR_PANELS`` setting `as per its documentation <https://django-debug-toolbar.readthedocs.io/en/latest/configuration.html#debug-toolbar-panels>`__ to include the panel. You'll need to copy the default and add the panel at the end: .. code-block:: python DEBUG_TOOLBAR_PANELS = [ # ... "template_profiler_panel.panels.template.TemplateProfilerPanel", ] After this, you should see the "Template Profiler" panel when you load the toolbar. Both Django and Jinja2 template ``render()`` calls will be measured.


نحوه نصب


نصب پکیج whl django-debug-toolbar-template-profiler-2.1.0:

    pip install django-debug-toolbar-template-profiler-2.1.0.whl


نصب پکیج tar.gz django-debug-toolbar-template-profiler-2.1.0:

    pip install django-debug-toolbar-template-profiler-2.1.0.tar.gz