ACTIVEREPORTS 7 TOOLBAR TOOLS HOW TO
This component has a variety of panels that can be added through the configuration, these panels show different information related to http requests / responses and other relevant debug data, in this url you can see all differents default panels and you can learn how to use and configure it. Note: Is very important that you have the close body tag ( ) in your base template for the Django Debug Toolbar is showing. This is the default conf and if you want see more options you can see this page: The INTERNAL_IPS conf is valid for a local development environment, if your dev env is different, you just change this field with your valid conf. INTERNAL_IPS = ('127.0.0.1', 'localhost',) .RemoveAt(2) // Create and add the custom button btn new () btn.Caption 'Export' btn.ToolTip 'Export Button' btn.ImageIndex 1 btn.ButtonStyle .TextAndIcon btn.
In the settings.py we enter our independent conf for this component, like this: DEBUG = True Take care with the “imports” because it’s possible that you duplicate some of this. Url(r'^_debug_/', include(debug_toolbar.urls)), The configuration of this component is simple, but because most of the configuration must be done in the core of the settings of the project, we recommend to do it independently.įirst, in your general project urls.py, enter this code: from nf import settingsįrom import include, url But is more easy the pip installation and we will focus on this.įor installation we recommend use the virtual env and execute this command: pip install django-debug-toolbar
If you wan’t use pip, you can get the code of this component from here () and put it in your django project path. The Django Debug Toolbar is a configurable set of panels that display various debug information about the current request/response and when clicked, display more details about the panel's content.įor the installation of the Django Debug Toolbar you need to have a django project where you can use pip in a Virtual Environment or without them.