From 0409f42d2b7a018936b524139b3f1bf66e791459 Mon Sep 17 00:00:00 2001 From: Christian Petersson Date: Wed, 16 Aug 2017 06:17:04 +0000 Subject: [PATCH] Extra data is a field in Django that will disappear sooner or later, so this field is not required anymore when creating a new Statement/responds manually in Django Admin. --- chatterbot/ext/django_chatterbot/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chatterbot/ext/django_chatterbot/models.py b/chatterbot/ext/django_chatterbot/models.py index 224fcf9b1..aa6f0ea73 100644 --- a/chatterbot/ext/django_chatterbot/models.py +++ b/chatterbot/ext/django_chatterbot/models.py @@ -16,7 +16,10 @@ class AbstractBaseStatement(models.Model): max_length=255 ) - extra_data = models.CharField(max_length=500) + extra_data = models.CharField( + max_length=500, + blank=True + ) # This is the confidence with which the chat bot believes # this is an accurate response. This value is set when the