Update django-filter & django-guardian

This commit is contained in:
Ryan P Kilby 2016-09-14 23:53:14 -04:00
parent 197b63ab85
commit bb37cb7992
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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()