-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add project: use an instance variable to avoid 500 #11795
Conversation
604cc88
to
fae4fc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you can use a condition_dict
class attribute to define when to skip a step https://django-formtools.readthedocs.io/en/latest/wizard.html#formtools.wizard.views.WizardView.condition_dict.
I implemented it using |
Maybe it was fixed in the latest releases? Or maybe this is an open bug jazzband/django-formtools#134 |
We can improve/fix that bug later. I want to merge this because a lot of users are hitting this issue when importing projects. Let's fix the immediate problem first and then we can polish it. |
…mitos/add-project-wizard-config
Based on this comment jazzband/django-formtools#134 (comment), the problem is not solved in |
…edocs/readthedocs.org into humitos/add-project-wizard-config
Failing test looks unrelated, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think we should try to update this dependency as well.
Yes. I'm doing that in another branch already 👍🏼 |
Let's see if tests pass first. If so, we can remove the internal check we added for conditional dict, and perform a manual import to check if the notification is duplicated. Related #11795
Closes readthedocs/ext-theme#477