mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Refs Travis - fix for 80 chars limit
This commit is contained in:
parent
1bb80548d2
commit
4e5ee24618
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,9 @@ class DocumentFilterSet(FilterSet):
|
|||
correspondent__slug = CharFilter(name="correspondent__slug", **CHAR_KWARGS)
|
||||
tags__name = CharFilter(name="tags__name", **CHAR_KWARGS)
|
||||
tags__slug = CharFilter(name="tags__slug", **CHAR_KWARGS)
|
||||
tags__empty = BooleanFilter(name='tags', lookup_expr='isnull', distinct=True)
|
||||
tags__empty = BooleanFilter(name='tags',
|
||||
lookup_expr='isnull',
|
||||
distinct=True)
|
||||
|
||||
class Meta(object):
|
||||
model = Document
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue