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 DocumentTypeFilterSet(FilterSet):
class Meta(object): class Meta:
model = DocumentType model = DocumentType
fields = { fields = {
"name": [ "name": [

View File

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

View File

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