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

Renamed 'last_modified' to 'last_updated'

This commit is contained in:
Jeremy Stretch
2016-06-22 11:03:49 -04:00
parent 338539e0d6
commit 921040d2fc
5 changed files with 35 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ class SecretSerializer(serializers.ModelSerializer):
class Meta:
model = Secret
fields = ['id', 'device', 'role', 'name', 'plaintext', 'hash', 'created', 'last_modified']
fields = ['id', 'device', 'role', 'name', 'plaintext', 'hash', 'created', 'last_updated']
class SecretNestedSerializer(SecretSerializer):