
import django_filters

from .models import Message,Comment



class CommentFilter(django_filters.rest_framework.FilterSet):
    exist_parent_comment = django_filters.BooleanFilter(field_name='parent_comment',lookup_expr='isnull')

    class Meta:
        model = Comment
        fields = ('post','exist_parent_comment')

d573065b0b7d53b1a3a9ee5cb36da95f27cf1e79
<mask token>

<mask token>


class CommentFilter(django_filters.rest_framework.FilterSet):
    <mask token>


    class Meta:
        model = Comment
        fields = 'post', 'exist_parent_comment'

<mask token>


class CommentFilter(django_filters.rest_framework.FilterSet):
    exist_parent_comment = django_filters.BooleanFilter(field_name=
        'parent_comment', lookup_expr='isnull')


    class Meta:
        model = Comment
        fields = 'post', 'exist_parent_comment'

import django_filters
from .models import Message, Comment


class CommentFilter(django_filters.rest_framework.FilterSet):
    exist_parent_comment = django_filters.BooleanFilter(field_name=
        'parent_comment', lookup_expr='isnull')


    class Meta:
        model = Comment
        fields = 'post', 'exist_parent_comment'


import django_filters

from .models import Message,Comment



class CommentFilter(django_filters.rest_framework.FilterSet):
    exist_parent_comment = django_filters.BooleanFilter(field_name='parent_comment',lookup_expr='isnull')

    class Meta:
        model = Comment
        fields = ('post','exist_parent_comment')
