Merge pull request #3803 from m1kola/patch-1

Typo fix in docs/api-guide/relations.md
This commit is contained in:
Xavier Ordoquy 2016-01-06 16:02:16 +01:00
commit c46ed66d0a

View File

@ -459,7 +459,7 @@ In cases where the cutoff is being enforced you may want to instead use a plain
assigned_to = serializers.SlugRelatedField(
queryset=User.objects.all(),
slug field='username',
slug_field='username',
style={'base_template': 'input.html'}
)