minor changes

This commit is contained in:
Jonas Winkler 2018-12-11 12:26:44 +01:00
parent 766109ae4e
commit bcd9220021
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ class TagFilterSet(FilterSet):
class DocumentTypeFilterSet(FilterSet):
class Meta(object):
class Meta:
model = DocumentType
fields = {
"name": [

View File

@ -12,7 +12,7 @@ class CorrespondentSerializer(serializers.HyperlinkedModelSerializer):
class DocumentTypeSerializer(serializers.HyperlinkedModelSerializer):
class Meta(object):
class Meta:
model = DocumentType
fields = ("id", "slug", "name", "automatic_classification")

View File

@ -81,7 +81,7 @@ INSTALLED_APPS = [
"rest_framework",
"crispy_forms",
"django_filters"
"django_filters",
]