# in project/app/context_processors.py
from app.models import Product, Media

def base_media(request):
    return {'all_media': Media.objects.all()} # of course some filter here
ee6aa58acd85a1464ea713b131963648fc84f52f
<mask token>

<mask token>


def base_media(request):
    return {'all_media': Media.objects.all()}

from app.models import Product, Media


def base_media(request):
    return {'all_media': Media.objects.all()}

# in project/app/context_processors.py
from app.models import Product, Media

def base_media(request):
    return {'all_media': Media.objects.all()} # of course some filter here