django filter custom filter code example
Example 1: and in django query filter
Blog.objects.filter(entry__headline__contains='Lennon', entry__pub_date__year=2008)
Example 2: filter field set in django formds
from django.contrib.auth.decorators import login_required
@login_required
def agregar_producto(request):