mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
minor changes
This commit is contained in:
parent
766109ae4e
commit
bcd9220021
@ -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": [
|
||||||
|
@ -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")
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ INSTALLED_APPS = [
|
|||||||
|
|
||||||
"rest_framework",
|
"rest_framework",
|
||||||
"crispy_forms",
|
"crispy_forms",
|
||||||
"django_filters"
|
"django_filters",
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user