damned-lies r1173 - trunk
- From: stephaner svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1173 - trunk
- Date: Sat, 15 Nov 2008 23:58:37 +0000 (UTC)
Author: stephaner
Date: Sat Nov 15 23:58:37 2008
New Revision: 1173
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1173&view=rev
Log:
2008-11-16 StÃphane Raimbault <stephane raimbault gmail com>
* README: Notes to install django-debug-toolbar.
* settings_sample.py: Added django-debug-toolbar settings.
Modified:
trunk/ChangeLog
trunk/README
trunk/settings_sample.py
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Sat Nov 15 23:58:37 2008
@@ -27,6 +27,10 @@
Run './manage.py syncdb' before any model changes and './manage.py
evolve --hint --execute' after.
+3 - [Optional] Django Debug Toolbar
+ git clone git://github.com/dcramer/django-debug-toolbar.git
+ Define USE_DEBUG_TOOLBAR to True in settings.py to use it.
+
Installation
============
Modified: trunk/settings_sample.py
==============================================================================
--- trunk/settings_sample.py (original)
+++ trunk/settings_sample.py Sat Nov 15 23:58:37 2008
@@ -6,6 +6,7 @@
TEMPLATE_DEBUG = DEBUG
STATIC_SERVE = True
USE_DJANGO_EVOLUTION = False
+USE_DEBUG_TOOLBAR = False
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
@@ -104,6 +105,11 @@
'vertimus'
)
+INTERNAL_IPS=('127.0.0.1',)
+
if USE_DJANGO_EVOLUTION:
- INSTALLED_APPS = list(INSTALLED_APPS)
- INSTALLED_APPS += ['django_evolution']
+ INSTALLED_APPS += ('django_evolution',)
+
+if USE_DEBUG_TOOLBAR:
+ MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
+ INSTALLED_APPS += ('debug_toolbar',)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]