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

Closes #855: Added an API endpoint for recent activity

This commit is contained in:
Jeremy Stretch
2017-03-09 14:26:39 -05:00
parent 41826fc3cb
commit 9dfda83946
6 changed files with 55 additions and 5 deletions

View File

View File

@@ -0,0 +1,10 @@
from django.contrib.auth.models import User
from rest_framework import serializers
class NestedUserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ['id', 'username']