Merge pull request #1277 from Ian-Foote/master

Fix typo "Not" -> "Note"
This commit is contained in:
Tom Christie 2013-12-09 01:54:37 -08:00
commit b599447b71

View File

@ -425,7 +425,7 @@ You can change the field that is used for object lookups by setting the `lookup_
fields = ('url', 'account_name', 'users', 'created') fields = ('url', 'account_name', 'users', 'created')
lookup_field = 'slug' lookup_field = 'slug'
Not that the `lookup_field` will be used as the default on *all* hyperlinked fields, including both the URL identity, and any hyperlinked relationships. Note that the `lookup_field` will be used as the default on *all* hyperlinked fields, including both the URL identity, and any hyperlinked relationships.
For more specific requirements such as specifying a different lookup for each field, you'll want to set the fields on the serializer explicitly. For example: For more specific requirements such as specifying a different lookup for each field, you'll want to set the fields on the serializer explicitly. For example: