mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Fixed typos in code comments.
This commit is contained in:
@@ -538,7 +538,7 @@ def modelform_factory(model, form=ModelForm, fields=None, exclude=None,
|
||||
"'exclude' explicitly is prohibited."
|
||||
)
|
||||
|
||||
# Instatiate type(form) in order to use the same metaclass as form.
|
||||
# Instantiate type(form) in order to use the same metaclass as form.
|
||||
return type(form)(class_name, (form,), form_class_attrs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user