mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Merge pull request #3803 from m1kola/patch-1
Typo fix in docs/api-guide/relations.md
This commit is contained in:
commit
c46ed66d0a
|
@ -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'}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user