From 176831e22b14379ac780491ec0c16834e598f4e1 Mon Sep 17 00:00:00 2001 From: Michael Borisov Date: Wed, 8 Feb 2017 18:17:58 +0300 Subject: [PATCH] Missing comma (#4889) --- docs/api-guide/serializers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index 6602d5e2c8..e157845a9f 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -700,7 +700,7 @@ You can override a URL field view name and lookup field by using either, or both model = Account fields = ('account_url', 'account_name', 'users', 'created') extra_kwargs = { - 'url': {'view_name': 'accounts', 'lookup_field': 'account_name'} + 'url': {'view_name': 'accounts', 'lookup_field': 'account_name'}, 'users': {'lookup_field': 'username'} }