quickinfo search form: allow iframe embedding
This commit is contained in:
@ -2,10 +2,12 @@ import re
|
||||
|
||||
from django.shortcuts import render, get_object_or_404
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
from django.views.decorators.clickjacking import xframe_options_exempt
|
||||
|
||||
from products.models import Product, ProductImage, ProductImageFormat
|
||||
|
||||
|
||||
@xframe_options_exempt
|
||||
def search(request):
|
||||
return render(request, 'quickinfo/search.html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user