1 from django.conf import settings
2 from django.db import models
3 from rest_framework.authtoken.models import Token as TokenBase
6 class Token(TokenBase):
7 last_seen_at = models.DateTimeField(blank=True, null=True)
8 api_version = models.IntegerField(choices=[