Implementing reading form fields

This commit is contained in:
Alexander Forselius 2024-01-19 21:42:08 +01:00
parent f9a4305e61
commit 07bd845bf6

View File

@ -47,7 +47,7 @@ class ReporterFormType(DjangoFormObjectType):
def test_query_djangoformtype(): def test_query_djangoformtype():
class MyFormType(DjangoFormObjectType): class MyFormType(DjangoFormObjectType):
form_class = MyForm form_class = MyForm
only_fields = ('text_field', 'int_field') only_fields = ('text_field', 'int_field')
exclude_fields = [] exclude_fields = []