tacticalrmm/api/djangormm/accounts/admin.py

9 lines
178 B
Python

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',)