Styria-Digital / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
https://styria-digital.github.io/django-rest-framework-jwt/
MIT License
192 stars 60 forks source link

documentation doesn't mention need of INSTALLED_APPS #55

Closed radix closed 4 years ago

radix commented 4 years ago

I just switched from djangorestframework-jwt to this package, and one of the things I ran into was this error:

RuntimeError: Model class rest_framework_jwt.blacklist.models.BlacklistedToken doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

I had to add rest_framework_jwt to INSTALLED_APPS in order for my code to work. This isn't mentioned anywhere in the documentation.

marcosox commented 4 years ago

I am using version 1.16.1 and noticed some things:

And consequently, django tests crash with relation "accounts_myuser" does not exist.

undefinedplayer commented 4 years ago

Same issue here.