diff options
| author | Tom Christie | 2014-08-29 10:57:24 +0100 | 
|---|---|---|
| committer | Tom Christie | 2014-08-29 10:57:24 +0100 | 
| commit | 0f8fdf4e72b67ff46474c13c8b532bf319a58099 (patch) | |
| tree | 949a6e441bde55842ea45293187866bd50e39130 /docs/api-guide | |
| parent | f62c874ea9621ae67fb56e7e453dca8fd5039051 (diff) | |
| download | django-rest-framework-0f8fdf4e72b67ff46474c13c8b532bf319a58099.tar.bz2 | |
Remove `allow_empty`.
Closes #1774.
Diffstat (limited to 'docs/api-guide')
| -rwxr-xr-x | docs/api-guide/generic-views.md | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index d30b7f9b..49be0cae 100755 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -212,8 +212,6 @@ Provides a `.list(request, *args, **kwargs)` method, that implements listing a q  If the queryset is populated, this returns a `200 OK` response, with a serialized representation of the queryset as the body of the response.  The response data may optionally be paginated. -If the queryset is empty this returns a `200 OK` response, unless the `.allow_empty` attribute on the view is set to `False`, in which case it will return a `404 Not Found`. -  ## CreateModelMixin  Provides a `.create(request, *args, **kwargs)` method, that implements creating and saving a new model instance. | 
