diff options
| author | Paul Melnikow | 2014-01-04 17:03:01 -0500 | 
|---|---|---|
| committer | Paul Melnikow | 2014-01-04 17:03:01 -0500 | 
| commit | 899381575a6038f550a064261ed5c6ba0655211b (patch) | |
| tree | 02031a70b9e527f59f1a9eea0e0032e620c3e0ff /docs/api-guide/routers.md | |
| parent | 3cd15fb1713dfc49e1bf1fd48045ca3ae5654e18 (diff) | |
| download | django-rest-framework-899381575a6038f550a064261ed5c6ba0655211b.tar.bz2 | |
Fix a typo
Diffstat (limited to 'docs/api-guide/routers.md')
| -rw-r--r-- | docs/api-guide/routers.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md index 6b4ae6db..249e99a4 100644 --- a/docs/api-guide/routers.md +++ b/docs/api-guide/routers.md @@ -83,7 +83,7 @@ This behavior can be modified by setting the `trailing_slash` argument to `False  Trailing slashes are conventional in Django, but are not used by default in some other frameworks such as Rails.  Which style you choose to use is largely a matter of preference, although some javascript frameworks may expect a particular routing style. -The router will match lookup values containing any characters except slashes and period characters.  For a more restrictive (or lenient) lookup pattern, set the `lookup_field_regex` attribute on the viewset.  For example, you can limit the lookup to valid UUIDs: +The router will match lookup values containing any characters except slashes and period characters.  For a more restrictive (or lenient) lookup pattern, set the `lookup_value_regex` attribute on the viewset.  For example, you can limit the lookup to valid UUIDs:      class MyModelViewSet(mixins.RetrieveModelMixin, viewsets.GenericViewSet):          lookup_field = 'my_model_id' | 
