mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Missing comma (#4889)
This commit is contained in:
parent
cbad236f6d
commit
176831e22b
|
@ -700,7 +700,7 @@ You can override a URL field view name and lookup field by using either, or both
|
||||||
model = Account
|
model = Account
|
||||||
fields = ('account_url', 'account_name', 'users', 'created')
|
fields = ('account_url', 'account_name', 'users', 'created')
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
'url': {'view_name': 'accounts', 'lookup_field': 'account_name'}
|
'url': {'view_name': 'accounts', 'lookup_field': 'account_name'},
|
||||||
'users': {'lookup_field': 'username'}
|
'users': {'lookup_field': 'username'}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user