Skip to content

Commit 24404fc

Browse files
committed
explicit import of FileField
1 parent ffd1964 commit 24404fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/custom_comments/forms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
from django import forms
1+
from django.forms import FileField
22

33
from django_comments.forms import CommentForm
44

55

66
class CustomCommentForm(CommentForm):
7-
file = forms.FileField()
7+
file = FileField()
88

99
def get_comment_create_data(self, site_id=None):
1010
data = super().get_comment_create_data(site_id=site_id)

0 commit comments

Comments
 (0)