mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Include PK in user serializer
This commit is contained in:
parent
cb41236738
commit
e91eac0c66
@ -8,7 +8,8 @@ class UserSerializer(serializers.HyperlinkedModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ('username',
|
||||
fields = ('pk',
|
||||
'username',
|
||||
'first_name',
|
||||
'last_name',
|
||||
'email',)
|
||||
|
Loading…
Reference in New Issue
Block a user