mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-10 07:14:48 +03:00
Update django-filter & django-guardian
This commit is contained in:
parent
197b63ab85
commit
bb37cb7992
|
@ -1,5 +1,5 @@
|
||||||
# Optional packages which may be used with REST framework.
|
# Optional packages which may be used with REST framework.
|
||||||
markdown==2.6.4
|
markdown==2.6.4
|
||||||
django-guardian==1.4.3
|
django-guardian==1.4.6
|
||||||
django-filter==0.13.0
|
django-filter==0.14.0
|
||||||
coreapi==1.32.0
|
coreapi==1.32.0
|
||||||
|
|
|
@ -76,6 +76,7 @@ if django_filters:
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = BaseFilterableItem
|
model = BaseFilterableItem
|
||||||
|
fields = '__all__'
|
||||||
|
|
||||||
class BaseFilterableItemFilterRootView(generics.ListCreateAPIView):
|
class BaseFilterableItemFilterRootView(generics.ListCreateAPIView):
|
||||||
queryset = FilterableItem.objects.all()
|
queryset = FilterableItem.objects.all()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user