Commit c46ed66d by Xavier Ordoquy

Merge pull request #3803 from m1kola/patch-1

Typo fix in docs/api-guide/relations.md
parents 37f7b76f 5fa8a318
...@@ -459,7 +459,7 @@ In cases where the cutoff is being enforced you may want to instead use a plain ...@@ -459,7 +459,7 @@ In cases where the cutoff is being enforced you may want to instead use a plain
assigned_to = serializers.SlugRelatedField( assigned_to = serializers.SlugRelatedField(
queryset=User.objects.all(), queryset=User.objects.all(),
slug field='username', slug_field='username',
style={'base_template': 'input.html'} style={'base_template': 'input.html'}
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment