-
Notifications
You must be signed in to change notification settings - Fork 150
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
NoneType error when saving UserProfileAdmin after Django 4.1 update #226
Labels
Comments
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
Merged
PetrDlouhy
added a commit
to PetrDlouhy/django-cachalot
that referenced
this issue
Mar 10, 2023
Andrew-Chen-Wang
added a commit
that referenced
this issue
Mar 12, 2023
* Update utils.py verify get_meta isn't none before requesting db_table * Add passenv to tox.ini * Fix test_explain in sqlite * add test that will cause error #226 * try to get around problem with PASSWORD in GitHub actions testing * fix tests broken not counting with other applications permissions --------- Co-authored-by: hho6643 <[email protected]> Co-authored-by: Andrew Chen Wang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
When I press save button on my UserProfile admin page, the following error is thrown:
The same error occurs on two more of my admin pages (out of many more).
The exception is not thrown from Django 4.0, but is thrown from Django 4.1.
Also if I remove
cachalot
fromINSTALLED_APPS
the problem disapears.What should've happened instead?
The changes should be saved.
Steps to reproduce
Configuration:
Linux petr-ws 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
More details
What I have already find out is that the query with
None
inquery.get_meta()
is following:The text was updated successfully, but these errors were encountered: