From 5291c2f02f63c2ac66e4aeb5cb28127971501277 Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Mon, 27 May 2019 16:34:45 +0200 Subject: [PATCH] Allow example app and tests to be run with Django 2.2 --- example/fixtures/blogentry.json | 8 ++------ example/settings/dev.py | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/example/fixtures/blogentry.json b/example/fixtures/blogentry.json index 15ceded9..44b70d97 100644 --- a/example/fixtures/blogentry.json +++ b/example/fixtures/blogentry.json @@ -83,9 +83,7 @@ "n_comments": 0, "n_pingbacks": 0, "rating": 0, - "authors": [ - 1 - ] + "authors": [] } }, { @@ -102,9 +100,7 @@ "n_comments": 0, "n_pingbacks": 0, "rating": 0, - "authors": [ - 2 - ] + "authors": [] } }, { diff --git a/example/settings/dev.py b/example/settings/dev.py index 4b989e89..ade24139 100644 --- a/example/settings/dev.py +++ b/example/settings/dev.py @@ -21,7 +21,6 @@ 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.auth', - 'django.contrib.admin', 'rest_framework', 'polymorphic', 'example',