This tool is exceptionally helpful for debugging issues with Django:
install it as part of the 'dev' configuration. This only works on
Django > 1.6, due to a lack of support for older versions in the
upstream.
A note is included to help users avoid the issues seen when running
patchwork on a different machine.
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Should you wish to re-enter this environment, simply source the `activate`
script again.
+## Django Debug Toolbar
+
+patchwork installs and enables the 'Django Debug Toolbar' by default. However,
+by default this is only displayed if you are developing on localhost. If
+developing on a different machine, you should configure an SSH tunnel such
+that, for example, `localhost:8000` points to `[DEV_MACHINE_IP]:8000`.
+
## Environment Variables
The following environment variables are available to configure settings when
# https://docs.djangoproject.com/en/1.6/ref/settings/#core-settings
#
+# Models
+
+if django.VERSION > (1, 6):
+ INSTALLED_APPS += [
+ 'debug_toolbar'
+ ]
+
# Security
SECRET_KEY = '00000000000000000000000000000000000000000000000000'
mysqlclient==1.3.7 # replace this with psycopg2 for a PostgreSQL backend
+django-debug-toolbar==1.4
python-dateutil==2.4.2
selenium==2.48.0