Ошибка при миграции после установки rest_framework_api_key
Я пытаюсь использовать библиотеку this. Но при попытке выполнить команду python manage.py migrate
я получаю следующую ошибку.
Operations to perform:
Apply all migrations: admin, auth, contenttypes, rest_framework_api_key, sessions
Running migrations:
Applying rest_framework_api_key.0001_initial... OK
Applying rest_framework_api_key.0002_auto_20190529_2243...Traceback (most recent call last):
File "/home/foysal/.local/lib/python3.10/site-packages/django/db/models/options.py", line 676, in get_field
return self.fields_map[field_name]
KeyError: 'revoked'
During handling of the above exception, another exception occurred:
И
File "/home/foysal/.local/lib/python3.10/site-packages/django/db/models/options.py", line 678, in get_field
raise FieldDoesNotExist(
django.core.exceptions.FieldDoesNotExist: APIKey has no field named 'revoked'