mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +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
|
||||
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'}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user