aboutsummaryrefslogtreecommitdiffstats
path: root/test_pgsql.py
diff options
context:
space:
mode:
authorJannis Leidel2013-03-02 14:09:30 +0100
committerJannis Leidel2013-03-02 14:09:30 +0100
commit0844c8b24527486d43f8ab18241ce0b7f900129b (patch)
treed9db1cd777ee7b122665b5358c0b1d24d30f93a7 /test_pgsql.py
parent42d7dde77e1c2daffaa5fa5bd16184f52c413c20 (diff)
parent54f4f3a7361ae711641b511df5a4c8962ad623a4 (diff)
downloaddjango-debug-toolbar-0844c8b24527486d43f8ab18241ce0b7f900129b.tar.bz2
Merge branch 'issue_230' of git://github.com/akaariai/django-debug-toolbar into akaariai-issue_230
Conflicts: debug_toolbar/utils/tracking/db.py
Diffstat (limited to 'test_pgsql.py')
-rw-r--r--test_pgsql.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/test_pgsql.py b/test_pgsql.py
new file mode 100644
index 0000000..28c0178
--- /dev/null
+++ b/test_pgsql.py
@@ -0,0 +1,28 @@
+from django.conf import global_settings
+DATABASES={
+ 'default': {
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
+ # Edit the below settings before use...
+ 'USER': '',
+ 'NAME': '',
+ 'HOST': '',
+ 'PASSWORD': '',
+ }
+}
+INSTALLED_APPS=[
+ 'django.contrib.auth',
+ 'django.contrib.admin',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sessions',
+ 'django.contrib.sites',
+
+ 'debug_toolbar',
+
+ 'tests',
+]
+MIDDLEWARE_CLASSES=global_settings.MIDDLEWARE_CLASSES + (
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
+)
+ROOT_URLCONF=''
+DEBUG=False
+SITE_ID=1