Skip to content
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

Django 4.1 support #54

Closed
N1K1TAS95 opened this issue Aug 18, 2022 · 4 comments
Closed

Django 4.1 support #54

N1K1TAS95 opened this issue Aug 18, 2022 · 4 comments

Comments

@N1K1TAS95
Copy link
Contributor

Hi there!
Since I've updated Django from version 4.0.7 to 4.1, django-addanother does not work properly.
The popup, when I'm click on the plus button, does not show up, but instead it just opens another page (in the same browser tab).
Also, in the opened page, when i add new object, it throws an error:

popup_response.js:13` Uncaught TypeError: Cannot read properties of null (reading 'dismissAddRelatedObjectPopup')
at popup_response.js:13:16

I'll be glad to supply other info or code if requested.

@jonashaag
Copy link
Owner

Thanks for the report. Do you think you could try to submit a fix?

@N1K1TAS95
Copy link
Contributor Author

@jonashaag I'll try to find a fix. But I can't promise much, I'm not so good 😅.

@N1K1TAS95
Copy link
Contributor Author

N1K1TAS95 commented Aug 28, 2022

@jonashaag I've added a new PR #55 . I've found a fix. It woks perfectly with Django 4.1 and Django 4.0.7.

@N1K1TAS95
Copy link
Contributor Author

@jonashaag Is it possible to update PIP package ? 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants