Commit f0ea5ae9 authored by fred's avatar fred

add filter to exclude sound fragments

parent d5bdb6fa
......@@ -12,3 +12,7 @@ def is_already_in_soma(diffusion):
@register.filter
def somafix(value):
return value.replace('&', 'and')
@register.filter
def integral(queryset):
return queryset.exclude(fragment=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment