Skip to content

Commit

Permalink
Update src/django_bootstrap5/renderers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed May 3, 2021
1 parent 2e800ae commit 4ea0ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_bootstrap5/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class FormsetRenderer(BaseRenderer):

def __init__(self, formset, *args, **kwargs):
if not isinstance(formset, BaseFormSet):
raise ValueError('Parameter "formset" should contain a valid Django Formset.')
raise TypeError('Parameter "formset" should contain a valid Django Formset.')
self.formset = formset
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit 4ea0ae8

Please sign in to comment.