From b2639e71c942db7e580edd258d266362e4af3071 Mon Sep 17 00:00:00 2001 From: Michael Galler Date: Thu, 30 Aug 2018 15:31:03 +0200 Subject: [PATCH] added missing is_multipart for django 2.1 compatibility --- fakeinline/datastructures.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fakeinline/datastructures.py b/fakeinline/datastructures.py index 0005334..542e747 100644 --- a/fakeinline/datastructures.py +++ b/fakeinline/datastructures.py @@ -12,6 +12,8 @@ class FakeForm(object): base_fields = [] media = Media() + def is_multipart(self): + return False class FakeFormSet(object): """ Enough of the FormSet API to fool Django. """