# Path: knox/models.py
# class AuthTokenManager(models.Manager):
# class AuthToken(models.Model):
#     def create(self, user, expiry=knox_settings.TOKEN_TTL):
#     def __str__(self):


from django.contrib import admin
from knox import models



@admin.register(models.AuthToken)
class AuthTokenAdmin(admin.ModelAdmin):
    list_display = ('digest', 'user', 'created', 'expiry',)

# Path: knox/models.py
# class AuthTokenManager(models.Manager):
# class AuthToken(models.Model):
#     def create(self, user, expiry=knox_settings.TOKEN_TTL):
#     def __str__(self):


# Path: knox/admin.py
from django.contrib import admin
from knox import models




@admin.register(models.AuthToken)
class AuthTokenAdmin(admin.ModelAdmin):
    list_display = ('digest', 'user', 'created', 'expiry',)

    fields = ()