mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
refactor: code cleanup
I hate single quotes.
This commit is contained in:
parent
426919fa9f
commit
27db4f7e51
2 changed files with 6 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ class CorrespondentFilterSet(FilterSet):
|
|||
class Meta(object):
|
||||
model = Correspondent
|
||||
fields = {
|
||||
'name': [
|
||||
"name": [
|
||||
"startswith", "endswith", "contains",
|
||||
"istartswith", "iendswith", "icontains"
|
||||
],
|
||||
|
|
@ -21,7 +21,7 @@ class TagFilterSet(FilterSet):
|
|||
class Meta(object):
|
||||
model = Tag
|
||||
fields = {
|
||||
'name': [
|
||||
"name": [
|
||||
"startswith", "endswith", "contains",
|
||||
"istartswith", "iendswith", "icontains"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue