Skip to content

Commit

Permalink
Extra data is a field in Django that will disappear sooner or later, …
Browse files Browse the repository at this point in the history
…so this field is not required anymore when creating a new Statement/responds manually in Django Admin.
  • Loading branch information
Christian Petersson authored and gunthercox committed Aug 20, 2017
1 parent fa78879 commit ca2a187
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chatterbot/ext/django_chatterbot/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ class AbstractBaseStatement(models.Model):
max_length=constants.STATEMENT_TEXT_MAX_LENGTH
)

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
Expand Down

0 comments on commit ca2a187

Please sign in to comment.