# HG changeset patch # User neko259 # Date 2018-12-30 10:42:34 # Node ID 90fde64a47786e1fd7363481aad458b9f67a7ace # Parent 1e1196582dd3736aa0dc146dbe4efd1517e739be Compatibility with django 2.1 diff --git a/boards/forms/__init__.py b/boards/forms/__init__.py --- a/boards/forms/__init__.py +++ b/boards/forms/__init__.py @@ -97,7 +97,7 @@ class FormatPanel(forms.Textarea): form text area. """ - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): output_template = '
{}
' buttons = [self._get_button(formatter) for formatter in formatters] diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ simplejson pytube requests pillow -django>=1.8,<2.1 +django>=1.8 bbcode django-debug-toolbar pytz