嗨,我遇到了 restframework_simplejwt 库的问题。当我将黑名单添加到已安装的应用程序时,我返回一个错误。
设置.py 文件:
INSTALLED_APPS = [
...
'rest_framework_simplejwt.token_blacklist',
...
]
错误:
django.db.utils.ProgrammingError: relation "token_blacklist_outstandingtoken" does not exist
LINE 1: INSERT INTO "token_blacklist_outstandingtoken" ("user_id", "...