We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to use an application such as django-user-sessions the project fails to load with a traceback that looks like this:
File "/home/marcos/workspace/virtualenvs/test/lib/python3.12/site-packages/easyaudit/admin.py", line 11, in <module> from .admin_helpers import EasyAuditModelAdmin, prettify_json File "/home/marcos/workspace/virtualenvs/test/lib/python3.12/site-packages/easyaudit/admin_helpers.py", line 13, in <module> from .settings import READONLY_EVENTS, TRUNCATE_TABLE_SQL_STATEMENT File "/home/marcos/workspace/virtualenvs/test/lib/python3.12/site-packages/easyaudit/settings.py", line 8, in <module> from django.contrib.sessions.models import Session File "/home/marcos/workspace/virtualenvs/test/lib/python3.12/site-packages/django/contrib/sessions/models.py", line 8, in <module> class Session(AbstractBaseSession): File "/home/marcos/workspace/virtualenvs/test/lib/python3.12/site-packages/django/db/models/base.py", line 134, in __new__ raise RuntimeError( RuntimeError: Model class django.contrib.sessions.models.Session doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Python version: 3.12.7 Django version: 5.0.6 django-easy-audit version: 1.3.7
The text was updated successfully, but these errors were encountered:
Fix Session error when using a custom session app
3bce044
Fixes: soynatan#316
Successfully merging a pull request may close this issue.
When trying to use an application such as django-user-sessions the project fails to load with a traceback that looks like this:
Python version: 3.12.7
Django version: 5.0.6
django-easy-audit version: 1.3.7
The text was updated successfully, but these errors were encountered: