jazzband / django-formtools

A set of high-level abstractions for Django forms
https://django-formtools.readthedocs.io
BSD 3-Clause "New" or "Revised" License
814 stars 136 forks source link

Django 2.2? #143

Closed tripptuttle closed 4 years ago

tripptuttle commented 5 years ago

Are there known issues with Django 2.2.3 and Formtools 2.1? Specifically with the use of ModelChoiceFields? I've been having never-ending form wizard loops a 2.2.3 project. Nothing gets logged, but when I "submit" the final step in the wizard, it just takes me back to the first step, as if the "done" method in my SessionWizardView subclass is never called. Has anyone else encountered this type of error? I've tried removing all model-derived fields and I am still running into the issue.

I'm partially going crazy here, as I can't seem to find anyone else running into this issue. Thanks for helping point me in the right direction, and confirming that this isn't a version compatibility issue.

If there are any known issues, perhaps updating the docs would be a good idea, as they lead one to believe that formtools should work fine with Django.

New releases of django-formtools should always be compatible with the latest stable release of Django. If a new version of Django contains backwards incompatible changes that affect formtools, a new release of formtools will be issued shortly after the release of the new Django version.

code-example.txt

Xinjie-Lan commented 5 years ago

I installed with "pip3 install django-formtools", but it still says "ModuleNotFoundError: No module named 'django-formtools'." Is this the issue for everyone using Django 2.2?

violuke commented 5 years ago

@ChristianLan1 This is the problem that I have

timgraham commented 4 years ago

django-formtools 2.2 (tested with Django 2.2) is now on PyPI. If you still have trouble, please investigate and explain why formtools is at fault.