Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread El_merendero
Hi all, I'm developing a Django application for Windows with Pyhton 2.7.15. I need to implement an authentication mechanism with Django REST Framework JWT where I simply need to verify a token (and not to generate it). The token's payload i

Re: Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread Arthur Rio
Hi, Given you are using python 2.7, I suppose that you are using Django < 1.11. It seems like you either didn’t add the `django.contrib.auth` app to your `INSTALLED_APPS` ( https://docs.djangoproject.com/en/1.11/topics/auth/#installation) or haven’t ran the `./manage.py migrate` command. Hope thi

Re: Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread El_merendero
Hi Arthur, first of all, thanks for your reply, it seems to work. I'm using Django 1.11.2 and in my settings.py I already had `django.contrib.auth` app in my `INSTALLED_APPS`. Anyway I tryed to ran the migrate command and now I don't get that Exception any more but an "User doesn't exist." error