Django Version: | 5.1.3 |
---|---|
Exception Type: | DataError |
Exception Value: | value too long for type character varying(8) |
Exception Location: | /tmp/8dd07c1117ddeb8/antenv/lib/python3.12/site-packages/django/db/backends/utils.py, line 105, in _execute |
Raised during: | iam.controller.authcontroller.authenticate |
Python Executable: | /tmp/8dd07c1117ddeb8/antenv/bin/python |
Python Version: | 3.12.2 |
Got the above error when invoking
token_obj = AuthToken.objects.create(user)
The same is working fine in development mode.