Skip to content

Commit ce9fe63

Browse files
committed
fix compatibility issue with Django-3.1
1 parent 39a899a commit ce9fe63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

djng/forms/angular_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import warnings
55

66
from django.forms import forms
7+
from django.forms.boundfield import BoundField
78
from django.http import QueryDict
89
from django.utils.html import format_html, format_html_join, escape, conditional_escape
910
from django.utils.encoding import force_text
@@ -148,7 +149,7 @@ def get_context(self, name, value, attrs):
148149
return context
149150

150151

151-
class NgBoundField(forms.BoundField):
152+
class NgBoundField(BoundField):
152153
@property
153154
def errors(self):
154155
"""

0 commit comments

Comments
 (0)