fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update librarian
[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)