mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 07:57:55 +03:00 
			
		
		
		
	Merge pull request #3352 from miki725/url-filter
Added django-url-filter to 3rd party libraries
This commit is contained in:
		
						commit
						4dfc66e45d
					
				|  | @ -403,6 +403,10 @@ The [django-rest-framework-filters package][django-rest-framework-filters] works | ||||||
| 
 | 
 | ||||||
| The [djangorestframework-word-filter][django-rest-framework-word-search-filter] developed as alternative to `filters.SearchFilter` which will search full word in text, or exact match. | The [djangorestframework-word-filter][django-rest-framework-word-search-filter] developed as alternative to `filters.SearchFilter` which will search full word in text, or exact match. | ||||||
| 
 | 
 | ||||||
|  | ## Django URL Filter | ||||||
|  | 
 | ||||||
|  | [django-url-filter][django-url-filter] provides a safe way to filter data via human-friendly URLs. It works very similar to DRF serializers and fields in a sense that they can be nested except they are called filtersets and filters. That provides easy way to filter related data. Also this library is generic-purpose so it can be used to filter other sources of data and not only Django `QuerySet`s. | ||||||
|  | 
 | ||||||
| [cite]: https://docs.djangoproject.com/en/dev/topics/db/queries/#retrieving-specific-objects-with-filters | [cite]: https://docs.djangoproject.com/en/dev/topics/db/queries/#retrieving-specific-objects-with-filters | ||||||
| [django-filter]: https://github.com/alex/django-filter | [django-filter]: https://github.com/alex/django-filter | ||||||
| [django-filter-docs]: https://django-filter.readthedocs.org/en/latest/index.html | [django-filter-docs]: https://django-filter.readthedocs.org/en/latest/index.html | ||||||
|  | @ -413,3 +417,4 @@ The [djangorestframework-word-filter][django-rest-framework-word-search-filter] | ||||||
| [search-django-admin]: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields | [search-django-admin]: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields | ||||||
| [django-rest-framework-filters]: https://github.com/philipn/django-rest-framework-filters | [django-rest-framework-filters]: https://github.com/philipn/django-rest-framework-filters | ||||||
| [django-rest-framework-word-search-filter]: https://github.com/trollknurr/django-rest-framework-word-search-filter | [django-rest-framework-word-search-filter]: https://github.com/trollknurr/django-rest-framework-word-search-filter | ||||||
|  | [django-url-filter]: https://github.com/miki725/django-url-filter | ||||||
|  |  | ||||||
|  | @ -233,6 +233,7 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque | ||||||
| ### Filtering | ### Filtering | ||||||
| 
 | 
 | ||||||
| * [djangorestframework-chain][djangorestframework-chain] - Allows arbitrary chaining of both relations and lookup filters. | * [djangorestframework-chain][djangorestframework-chain] - Allows arbitrary chaining of both relations and lookup filters. | ||||||
|  | * [django-url-filter][django-url-filter] - Allows a safe way to filter data via human-friendly URLs. It is a generic library which is not tied to DRF but it provides easy integration with DRF. | ||||||
| 
 | 
 | ||||||
| ### Misc | ### Misc | ||||||
| 
 | 
 | ||||||
|  | @ -343,3 +344,4 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque | ||||||
| [drf-tracking]: https://github.com/aschn/drf-tracking | [drf-tracking]: https://github.com/aschn/drf-tracking | ||||||
| [django-rest-framework-braces]: https://github.com/dealertrack/django-rest-framework-braces | [django-rest-framework-braces]: https://github.com/dealertrack/django-rest-framework-braces | ||||||
| [dry-rest-permissions]: https://github.com/Helioscene/dry-rest-permissions | [dry-rest-permissions]: https://github.com/Helioscene/dry-rest-permissions | ||||||
|  | [django-url-filter]: https://github.com/miki725/django-url-filter | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user