Basándome en este manual que encontré en Internet:
http://quijost.com/foro/tutoriales-y-manuales/django-debug-toolbar-instalacion-y-puesta-en-marcha/

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SALIDA DE LA TERMINAL
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.Loader:
Using loader django.template.loaders.app_directories.Loader:
/usr/local/lib/python2.6/dist-packages/django/contrib/admin/templates/debug_toolbar/base.html
(File does not exist)
/usr/local/lib/python2.6/dist-packages/django/contrib/gis/templates/debug_toolbar/base.html
(File does not exist)
/var/django/test_project/testolwidget/templates/debug_toolbar/base.html
(File does not exist)
/usr/local/lib/python2.6/dist-packages/olwidget/templates/debug_toolbar/base.html
(File does not exist)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EL PROBLEMA PARA SOLUCIONAR
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cree este directorio con este archivo en blanco
/var/django/test_project/testolwidget/templates/debug_toolbar/base.html en
mi proyecto pero nada, no sale la barra de herramientas en la pagina web, no
se que tiene que tener? que falta? o que tiene que tener
el archivo base.html? del el manual que encontré no piden que esto se haga?
la verdad no se que es lo que pasa y la necesito para ver algo urgente de
mi proyecto que no veo usando esta barra, les agradezco la ayuda.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LA INSTALA ASÍ
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pip install django-debug-toolbar
Downloading/unpacking django-debug-toolbar
  Downloading django-debug-toolbar-0.8.5.tar.gz (81Kb): 81Kb downloaded
  Running setup.py egg_info for package django-debug-toolbar
Installing collected packages: django-debug-toolbar
  Running setup.py install for django-debug-toolbar
Successfully installed django-debug-toolbar
Cleaning up...

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EN EL ARCHIVO SETTINGS.PY SE AGREGO
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 MIDDLEWARE_CLASSES = (
    'debug_toolbar.middleware.DebugToolbarMiddleware',
)

DEBUG_TOOLBAR_PANELS = (
    'debug_toolbar.panels.version.VersionDebugPanel',
    'debug_toolbar.panels.timer.TimerDebugPanel',
    'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
    'debug_toolbar.panels.headers.HeaderDebugPanel',
    'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
    'debug_toolbar.panels.template.TemplateDebugPanel',
    'debug_toolbar.panels.sql.SQLDebugPanel',
    'debug_toolbar.panels.signals.SignalDebugPanel',
    'debug_toolbar.panels.logger.LoggingPanel',
)

 INTERNAL_IPS = ('127.0.0.1',)
INTERCEPT_REDIRECTS = False

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Todo esto siguiendo el manual que encontré.


-- 
 *Diego Alonso Uribe Gamez*
------------------------------

*Desarrollador web*

Twitter: @DiegoUG <http://www.twitter.com/DiegoUG>

Google+: http://gplus.to/diegoug
------------------------------
_______________________________________________
Python-es mailing list
Python-es@python.org
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/

Responder a