Francisco Couzo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							041b88f8bb 
							
						 
					 
					
						
						
							
							Improve style, fix some typos ( #8405 )  
						
						... 
						
						
						
						* Improve style, fix some typos
* Update docs/api-guide/fields.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Tom Christie <tom@tomchristie.com> 
						
					 
					
						2022-10-19 11:20:11 +01:00 
						 
				 
			
				
					
						
							
							
								Daian Gan 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c7acdd6006 
							
						 
					 
					
						
						
							
							Use .get() to find correct kwargs field and avoid KeyError ( #8607 )  
						
						... 
						
						
						
						In the "Creating custom mixins" documentation, the code example recommends using
```python
if self.kwargs[field]
```
However, if the correct field is not present in kwargs, a KeyError arises.
A more secure option is tu use .get() to validate that the field is contained in the kwargs dictionary:
```python
if self.kwargs.get(field)
``` 
						
					 
					
						2022-08-31 10:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Aaron Taajik 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72e66e4d67 
							
						 
					 
					
						
						
							
							fix minor typo ( #8626 )  
						
						
						
					 
					
						2022-08-30 12:27:48 +01:00 
						 
				 
			
				
					
						
							
							
								thetarby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ea95b6ad1 
							
						 
					 
					
						
						
							
							Highlight select_related and prefetch_related usage in documentation ( #7610 )  
						
						... 
						
						
						
						* docs updated to highlight use of select_related and prefetch related to avoid n+1 problems
* Apply suggestions from code review
cosmetic changes
Co-authored-by: Xavier Ordoquy <xordoquy@linovia.com>
* cosmetic changes
Co-authored-by: Xavier Ordoquy <xordoquy@linovia.com> 
						
					 
					
						2021-10-05 15:33:55 +01:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							410575dace 
							
						 
					 
					
						
						
							
							Replace all url() calls with path() or re_path() ( #7512 )  
						
						... 
						
						
						
						* url() is deprecated in Django 3.1
* update given feedbacks on url() is deprecated in Django 3.1
* Fix test_urlpatterns.py to continue testing mixed re_path() and path()
* Fix one missed reference
Co-authored-by: sanjusci <sanju.sci9@gmail.com> 
						
					 
					
						2020-09-08 15:32:27 +01:00 
						 
				 
			
				
					
						
							
							
								johnthagen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fccfdd21c0 
							
						 
					 
					
						
						
							
							Remove object inheritance in docs ( #7332 )  
						
						
						
					 
					
						2020-05-13 17:54:46 -07:00 
						 
				 
			
				
					
						
							
							
								Ran Benita 
							
						 
					 
					
						
						
						
						
							
						
						
							d985c7cbb9 
							
						 
					 
					
						
						
							
							Remove a few no longer needed compat checks and references ( #7092 )  
						
						... 
						
						
						
						* serializers: removes no longer needed compat checks
UUIDField and DurationField are both supported in all supported Django
versions.
IPAddressField was removed in Django 1.9, which is no longer supported.
* serializers: move related code closer together
This way it's easier to see all of the mappings in one place.
* serializers,docs: remove some DRF 2.x references
The last release of DRF 2.x was 5 years ago, it seems fine to remove
these references now. 
						
					 
					
						2019-12-16 18:59:25 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Hnyk 
							
						 
					 
					
						
						
						
						
							
						
						
							ab40b80fa6 
							
						 
					 
					
						
						
							
							Remove unmaintained django-rest-framework-bulk from docs ( #7021 )  
						
						
						
					 
					
						2019-10-28 03:46:44 -07:00 
						 
				 
			
				
					
						
							
							
								Luke Plant 
							
						 
					 
					
						
						
						
						
							
						
						
							f0dbf0a264 
							
						 
					 
					
						
						
							
							Update docs to use lists instead of tuples ( #6797 )  
						
						
						
					 
					
						2019-07-12 18:15:36 -07:00 
						 
				 
			
				
					
						
							
							
								Ryan P Kilby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82c2b5c3e7 
							
						 
					 
					
						
						
							
							Update mkdocs ( #6769 )  
						
						
						
					 
					
						2019-06-30 19:04:36 -07:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
						
						
							
						
						
							f9c67f04d4 
							
						 
					 
					
						
						
							
							Clean up all whitespace throughout project ( #5578 )  
						
						... 
						
						
						
						* Remove trailing whitespace from lines
* Remove trailing nad leading whitespace from files
Allows for cleaner diffs in future changes. For editors that
automatically clean up whitespace on save, will avoid unrelated line
changes in diffs. 
						
					 
					
						2017-11-09 20:57:53 +01:00 
						 
				 
			
				
					
						
							
							
								Irvan 
							
						 
					 
					
						
						
						
						
							
						
						
							b11f37eaf3 
							
						 
					 
					
						
						
							
							Fixed the MultipleFieldLookupMixin example to properly check for object level permission.  
						
						
						
					 
					
						2017-09-07 11:06:44 +08:00 
						 
				 
			
				
					
						
							
							
								Matt Broach 
							
						 
					 
					
						
						
						
						
							
						
						
							e4ec1d744e 
							
						 
					 
					
						
						
							
							Updated DjangoRestMulipleModel documentation to point to new repo location  
						
						
						
					 
					
						2017-05-30 23:39:18 -04:00 
						 
				 
			
				
					
						
							
							
								Md. Al-Amin 
							
						 
					 
					
						
						
						
						
							
						
						
							8a14b39e7d 
							
						 
					 
					
						
						
							
							Added doc for removing pagination in generic-view. ( #4940 )  
						
						
						
					 
					
						2017-03-06 18:33:27 +00:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							22578525ef 
							
						 
					 
					
						
						
							
							Documentation update ( #4717 )  
						
						
						
					 
					
						2016-11-30 12:58:34 +00:00 
						 
				 
			
				
					
						
							
							
								Alex Poleha 
							
						 
					 
					
						
						
						
						
							
						
						
							a83997e1ed 
							
						 
					 
					
						
						
							
							Removed incorrect line from generic-views.md ( #4583 )  
						
						
						
					 
					
						2016-10-14 11:29:48 +01:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							e91ffc87cb 
							
						 
					 
					
						
						
							
							Ignore empty args in the MultipleFieldLookupMixin definition -  Closes   #4484  
						
						
						
					 
					
						2016-09-13 07:21:10 +02:00 
						 
				 
			
				
					
						
							
							
								Kenneth Schnall 
							
						 
					 
					
						
						
						
						
							
						
						
							ff5cfe3e84 
							
						 
					 
					
						
						
							
							Replace "class based views" occurrences with "class-based views" ( #4251 )  
						
						
						
					 
					
						2016-07-08 08:38:50 +01:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							9208619362 
							
						 
					 
					
						
						
							
							Those are now fully removed.  
						
						
						
					 
					
						2016-03-08 06:38:03 +01:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							cac1ecb250 
							
						 
					 
					
						
						
							
							paginate_by removed in 3.3  
						
						
						
					 
					
						2016-03-08 06:37:46 +01:00 
						 
				 
			
				
					
						
							
							
								Will Dady 
							
						 
					 
					
						
						
						
						
							
						
						
							ca0841576f 
							
						 
					 
					
						
						
							
							Removing references to get_paginate_by() as it no longer exists.  
						
						
						
					 
					
						2015-11-17 15:00:00 +11:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							75beb6ab2d 
							
						 
					 
					
						
						
							
							Note on ValidationError in perform_create.  Closes   #2791 .  
						
						
						
					 
					
						2015-07-27 13:32:30 +01:00 
						 
				 
			
				
					
						
							
							
								Matt Broach 
							
						 
					 
					
						
						
						
						
							
						
						
							9e58bf6500 
							
						 
					 
					
						
						
							
							added link to Django Rest Multiple Models to Third Party Packages  
						
						
						
					 
					
						2015-07-02 17:20:41 -04:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							b6e46a6483 
							
						 
					 
					
						
						
							
							Update get_serializer signature  
						
						... 
						
						
						
						- remove the `files` and `allow_add_remove` arguments that were part of the 2.x API. 
						
					 
					
						2015-07-01 00:26:54 +02:00 
						 
				 
			
				
					
						
							
							
								Xavier Ordoquy 
							
						 
					 
					
						
						
						
						
							
						
						
							c80796ec04 
							
						 
					 
					
						
						
							
							Mention filter_queryset as an alternative to former get_filter_backends  
						
						
						
					 
					
						2015-06-10 23:32:52 +02:00 
						 
				 
			
				
					
						
							
							
								malinich 
							
						 
					 
					
						
						
						
						
							
						
						
							4a2bad03c5 
							
						 
					 
					
						
						
							
							outdated method 'get_filter_backends' has been deleted  from the documentation  
						
						
						
					 
					
						2015-06-05 15:40:13 +03:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							2e85b4ec3c 
							
						 
					 
					
						
						
							
							Merge pull request  #2890  from radyz/fixed-doc-for-get-paginated-response-method  
						
						... 
						
						
						
						Document correct method usage for get_paginated_response 
						
					 
					
						2015-05-05 09:15:28 +01:00 
						 
				 
			
				
					
						
							
							
								Ernesto Chavez Sanchez 
							
						 
					 
					
						
						
						
						
							
						
						
							2b4dd739cc 
							
						 
					 
					
						
						
							
							Fixed description for get_paginated_response method in generic-views and example using it with @list_route decorator in viewsets.  
						
						
						
					 
					
						2015-05-03 22:00:05 +00:00 
						 
				 
			
				
					
						
							
							
								Tymur Maryokhin 
							
						 
					 
					
						
						
						
						
							
						
						
							d19c3cc973 
							
						 
					 
					
						
						
							
							Remove deprecated model attribute reference.  Closes   #2896 .  
						
						
						
					 
					
						2015-05-01 20:32:52 +02:00 
						 
				 
			
				
					
						
							
							
								Ernesto Chavez Sanchez 
							
						 
					 
					
						
						
						
						
							
						
						
							0ffb0abe81 
							
						 
					 
					
						
						
							
							Document correct method usage for get_paginated_response in 3.x instead  
						
						... 
						
						
						
						of old get_pagination_serializer only valid in 2.x 
						
					 
					
						2015-04-30 02:23:39 +00:00 
						 
				 
			
				
					
						
							
							
								Brett Koonce 
							
						 
					 
					
						
						
						
						
							
						
						
							d8a19f79ab 
							
						 
					 
					
						
						
							
							more sp fixes  
						
						
						
					 
					
						2015-04-07 22:06:25 -07:00 
						 
				 
			
				
					
						
							
							
								José Padilla 
							
						 
					 
					
						
						
						
						
							
						
						
							911da8a2b9 
							
						 
					 
					
						
						
							
							query_params in favor of QUERY_PARAMS 
						
						
						
					 
					
						2015-03-29 17:04:23 -04:00 
						 
				 
			
				
					
						
							
							
								José Padilla 
							
						 
					 
					
						
						
						
						
							
						
						
							d12de927ad 
							
						 
					 
					
						
						
							
							Remove docs for 3.0 banners  
						
						
						
					 
					
						2015-03-07 10:49:56 -04:00 
						 
				 
			
				
					
						
							
							
								José Padilla 
							
						 
					 
					
						
						
						
						
							
						
						
							2ddb6bfa70 
							
						 
					 
					
						
						
							
							Fix permissions on markdown files  
						
						
						
					 
					
						2015-03-07 10:19:25 -04:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							18cc0230bf 
							
						 
					 
					
						
						
							
							Clean up pagination attributes  
						
						
						
					 
					
						2015-03-04 15:51:00 +00:00 
						 
				 
			
				
					
						
							
							
								Tymur Maryokhin 
							
						 
					 
					
						
						
						
						
							
						
						
							e720927b78 
							
						 
					 
					
						
						
							
							Removed deprecated '.model' docs  
						
						
						
					 
					
						2015-01-29 17:28:18 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							a636320ff3 
							
						 
					 
					
						
						
							
							Add import notes in docs.  Closes   #2357  
						
						
						
					 
					
						2014-12-28 11:02:19 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							8e549a76ea 
							
						 
					 
					
						
						
							
							Add 2.x notes and links  
						
						
						
					 
					
						2014-11-28 14:26:03 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							0f5338ada9 
							
						 
					 
					
						
						
							
							Call out removal of pre_save/post_save more strongly  
						
						
						
					 
					
						2014-11-26 09:06:15 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							c01c631ef2 
							
						 
					 
					
						
						
							
							perform_create, perform_update, perform_destroy hooks  
						
						
						
					 
					
						2014-11-26 09:04:48 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							f13c0ebe69 
							
						 
					 
					
						
						
							
							Merge master  
						
						
						
					 
					
						2014-11-25 16:27:00 +00:00 
						 
				 
			
				
					
						
							
							
								José Padilla 
							
						 
					 
					
						
						
						
						
							
						
						
							16d442dda3 
							
						 
					 
					
						
						
							
							Use MkDocs meta.source to render source code links  
						
						
						
					 
					
						2014-11-25 12:44:11 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							a3c0c8fb90 
							
						 
					 
					
						
						
							
							Add missing period.  
						
						
						
					 
					
						2014-11-25 12:04:35 +00:00 
						 
				 
			
				
					
						
							
							
								Brett Koonce 
							
						 
					 
					
						
						
						
						
							
						
						
							b44def4650 
							
						 
					 
					
						
						
							
							minor spelling tweaks  
						
						
						
					 
					
						2014-11-06 23:19:26 -08:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							d27b8cc09b 
							
						 
					 
					
						
						
							
							PUT as create docs, and move mixin out to external gist  
						
						
						
					 
					
						2014-11-03 12:00:19 +00:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							0f8fdf4e72 
							
						 
					 
					
						
						
							
							Remove allow_empty.  
						
						... 
						
						
						
						Closes  #1774 . 
					
						2014-08-29 10:57:24 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							d8eb9e6d45 
							
						 
					 
					
						
						
							
							Docs whitespace fix.  
						
						
						
					 
					
						2014-08-29 10:48:16 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Christie 
							
						 
					 
					
						
						
						
						
							
						
						
							8f4ae06b3b 
							
						 
					 
					
						
						
							
							Merge pull request  #1784  from tomchristie/remove-model-attribute  
						
						... 
						
						
						
						Deprecate `.model` attribute on views 
						
					 
					
						2014-08-29 10:03:07 +01:00 
						 
				 
			
				
					
						
							
							
								Nathan Hubbell 
							
						 
					 
					
						
						
						
						
							
						
						
							be21cafd2b 
							
						 
					 
					
						
						
							
							Update generic-views.md  
						
						... 
						
						
						
						Small grammar changes. 
						
					 
					
						2014-08-27 17:57:40 -07:00 
						 
				 
			
				
					
						
							
							
								Nathan Hubbell 
							
						 
					 
					
						
						
						
						
							
						
						
							19076510f4 
							
						 
					 
					
						
						
							
							Update generic-views.md  
						
						
						
					 
					
						2014-08-26 17:31:08 -07:00