X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0dd00c51dfdbda93e1b9c4612477cd05109d4517..9ff5f2ac22360b1ff3ef2473c15d4acfd1e7769b:/src/redakcja/api/models.py diff --git a/src/redakcja/api/models.py b/src/redakcja/api/models.py new file mode 100644 index 00000000..797aa6d4 --- /dev/null +++ b/src/redakcja/api/models.py @@ -0,0 +1,10 @@ +from django.conf import settings +from django.db import models +from rest_framework.authtoken.models import Token as TokenBase + + +class Token(TokenBase): + last_seen_at = models.DateTimeField(blank=True, null=True) + api_version = models.IntegerField(choices=[ + (1, '1'), + ])