Django REST Framework provides a basic token-based authentication mechanism which needs to be configured as an application in Django before being usable, so that tokens are created in the database, and their lifecycle handled.
Add Token-based authentication to settings.py
INSTALLED_APPS = (
...