Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about django-rest-knox

Read more about django-rest-knox

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - django-rest-knox

Could not import 'knox.auth.TokenAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'

I'm new to Django rest and I'm trying to create a very simple application that allows user to login/sign-up using knox. But as I try to run commands like "python manage.py makmigrations" or ...
test-img

Masih Bahmani

python

django

django-rest-framework

django-rest-auth

django-rest-knox

Votes: 0

Answers: 2

Latest Answer

After spending hours trying to figure out why this is happening, I realized it's because I'm using Django 4.0!!!!!! I downgraded to Django 3.2.11 and everything turned out to be ok:)
test-img

Masih Bahmani

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved