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

Unable to save after changes #115

Open
scrimpys opened this issue Sep 7, 2023 · 2 comments
Open

Unable to save after changes #115

scrimpys opened this issue Sep 7, 2023 · 2 comments

Comments

@scrimpys
Copy link

scrimpys commented Sep 7, 2023

Getting this message when doing a mass edit. Things were working some time back but have updated Django and a bunch of other stuff.

save_model() takes exactly 5 positional

I have overridden the save model in both the models.py and admin.py and even when I comment them out I still get the error.

@scrimpys
Copy link
Author

scrimpys commented Oct 18, 2023

Further testing shows this only occurs when my I use Cython to compile my project. If I leave the .py files in place it works. When I compile with Cython I get .so files for each .py file. The .py files can then be removed and the project still works. If I remove the .so file admin.py and restore admin.py it works.

@scrimpys
Copy link
Author

Please see comments from Cython developers regarding this issue.

[https://github.com/cython/cython/issues/5930]

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

1 participant