mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #2578: Reorganized nested serializers
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
from utilities.api import WritableNestedSerializer
|
||||
from .nested_serializers import *
|
||||
|
||||
|
||||
class NestedUserSerializer(WritableNestedSerializer):
|
||||
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ['id', 'username']
|
||||
# Placeholder for future serializers
|
||||
|
Reference in New Issue
Block a user