tacticalrmm/api/djangormm/accounts/admin.py

9 lines
178 B
Python
Raw Normal View History

2019-10-22 22:22:36 +00:00
from django.contrib import admin
from rest_framework.authtoken.admin import TokenAdmin
from .models import User
admin.site.register(User)
TokenAdmin.raw_id_fields = ('user',)