Simple API for connecting bots.
[redakcja.git] / src / redakcja / api / models.py
1 from django.conf import settings
2 from django.db import models
3 from rest_framework.authtoken.models import Token as TokenBase
4
5
6 class Token(TokenBase):
7     last_seen_at = models.DateTimeField(blank=True, null=True)
8     api_version = models.IntegerField(choices=[
9         (1, '1'),
10     ])