Skip to content

Commit

Permalink
Removed outdated comments, Added Django versions to classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
katdom13 authored and gasman committed Feb 10, 2023
1 parent b6fd989 commit db66c35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions generic_chooser/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ def render_input_html(self, name, value, attrs):
return super().render_html(name, value, attrs)

def render_html(self, name, value, attrs):
# From Wagtail 2.12, get_value_data is called as a preprocessing step in
# WidgetWithScript before invoking render_html
value_data = value

original_field_html = self.render_input_html(name, value_data['value'], attrs)
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Framework :: Django',
'Framework :: Django 3',
'Framework :: Django 3.2',
'Framework :: Django 4.0',
'Framework :: Django 4.1',
'Framework :: Wagtail',
'Framework :: Wagtail :: 4',
],
Expand Down

0 comments on commit db66c35

Please sign in to comment.