1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.contrib import admin
8 class TokenAdmin(admin.ModelAdmin):
9 raw_id_fields = ['user']
12 admin.site.register(models.Nonce)
13 admin.site.register(models.Consumer)
14 admin.site.register(models.Token, TokenAdmin)