Rest framework Index Page 1

django rest framework: type object 'Token' has no attribute 'objects'

When you are using auth token with Django rest framework and you get the error type object 'Token' has no attribute 'objects', this means that didn't add the auth token in the settings' INSTALLED_APPS.