1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Initial work on token authentication

This commit is contained in:
Jeremy Stretch
2017-03-07 17:17:39 -05:00
parent be0a3fb1f2
commit 0b10d98e0b
6 changed files with 129 additions and 5 deletions

8
netbox/users/admin.py Normal file
View File

@@ -0,0 +1,8 @@
from django.contrib import admin
from .models import Token
@admin.register(Token)
class TokenAdmin(admin.ModelAdmin):
list_display = ['user', 'key', 'created', 'expires', 'write_enabled', 'description']