Skip to content

Commit 4017239

Browse files
authored
Fix Documentation (#9832)
1 parent 5019582 commit 4017239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ You can override a URL field view name and lookup field by using either, or both
708708
class AccountSerializer(serializers.HyperlinkedModelSerializer):
709709
class Meta:
710710
model = Account
711-
fields = ['account_url', 'account_name', 'users', 'created']
711+
fields = ['url', 'account_name', 'users', 'created']
712712
extra_kwargs = {
713713
'url': {'view_name': 'accounts', 'lookup_field': 'account_name'},
714714
'users': {'lookup_field': 'username'}

0 commit comments

Comments
 (0)