djongo icon indicating copy to clipboard operation
djongo copied to clipboard

compatability issue with django 4.1

Open robertc99 opened this issue 3 years ago • 0 comments

Im getting the following errors with django 4.1. Work ok with django 4.0.7

/usr/local/lib/python3.10/site-packages/djongo/sql2mongo/sql_tokens.py, line 133, in table return alias2token[name].table

throws an sql error

The above exception ( Keyword: FAILED SQL: SELECT %(0)s AS “a” FROM “django_session” WHERE “django_session”.“session_key” = %(1)s LIMIT 1 Params: (1, ‘csorr60cwgjb3amw1lltj5ie0bpn3c62’) Version: 1.3.6 Sub SQL: None FAILED SQL: None Params: None Version: None) was the direct cause of the following exception: /usr/local/lib/python3.10/site-packages/django/db/utils.py, line 98

robertc99 avatar Aug 17 '22 06:08 robertc99