fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c931db060f14b3ccef18da108e46839a865a4be8
[wolnelektury.git]
/
src
/
api
/
admin.py
1
from django.contrib import admin
2
from . import models
3
4
5
class TokenAdmin(admin.ModelAdmin):
6
raw_id_fields = ['user']
7
8
9
admin.site.register(models.Nonce)
10
admin.site.register(models.Consumer)
11
admin.site.register(models.Token, TokenAdmin)