<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def apply_filters(self, queryset, applicable_filters=None, applicable_exclusions=None):
 """ Apply constructed filters and excludes and return the queryset :param queryset: queryset to filter :param applicable_filters: filters which are passed directly to queryset.filter() :param applicable_exclusions: filters which are passed directly to queryset.exclude() :returns filtered queryset """

        if applicable_filters:
            queryset = queryset.filter(applicable_filters)
        if applicable_exclusions:
            queryset = queryset.exclude(applicable_exclusions)
        return queryset