somehow when I just remove the print without touching anything else the code starts throwing an error when I return the print back, it magically works. Client side send the same data all the time so it’s likely not a client side problem
essay_data is a dictionary
form = FormClass(essay_data)
print(form)
essay_data = form.cleaned_data
the change where it throws an error
form = FormClass(essay_data)
# print(form)
essay_data = form.cleaned_data
the error
Traceback (most recent call last):
File “[redacted]/.venv/lib/python3.13/site-packages/django/core/handlers/exception.py”, line 55, in inner
response = get_response(request)
File “[redacted]/.venv/lib/python3.13/site-packages/django/core/handlers/base.py”, line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “[redacted]/views.py”, line 929, in [redacted]
essay_data = form.cleaned_data
^^^^^^^^^^^^^^^^^
AttributeError: ‘DynamicForm’ object has no attribute ‘cleaned_data’. Did you mean: ‘changed_data’?