[Python-modules-commits] [django-picklefield] 05/09: Fix tests by adding django.contrib.contenttypes to INSTALLED_APPS (Closes: #865557).

Michael Fladischer fladi at moszumanska.debian.org
Thu Jul 13 11:33:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-picklefield.

commit becc2b69671f0ed365a3ebbbc220898d3a583ae3
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Thu Jul 13 11:31:45 2017 +0200

    Fix tests by adding django.contrib.contenttypes to INSTALLED_APPS (Closes: #865557).
---
 debian/changelog   | 2 ++
 debian/settings.py | 9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 602474d..6cd4c65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 django-picklefield (1.0.0-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Fix tests by adding django.contrib.contenttypes to INSTALLED_APPS (Closes:
+    #865557).
 
  -- Michael Fladischer <fladi at debian.org>  Thu, 13 Jul 2017 11:14:22 +0200
 
diff --git a/debian/settings.py b/debian/settings.py
index 5963a40..20588a1 100644
--- a/debian/settings.py
+++ b/debian/settings.py
@@ -4,7 +4,10 @@ DATABASES = {
         'NAME': 'testproject/test.db3'
     }
 }
-INSTALLED_APPS = ["picklefield"]
+INSTALLED_APPS = [
+    'django.contrib.contenttypes',
+    'picklefield',
+]
 SITE_ID = 1
-ROOT_URLCONF = "testproject.urls"
-SECRET_KEY = "1"
+ROOT_URLCONF = 'testproject.urls'
+SECRET_KEY = '1'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-picklefield.git



More information about the Python-modules-commits mailing list