@ -177,9 +177,11 @@ class ProductView(CategoryBaseView, DetailView):
for i in ranee:
#import pdb; pdb.set_trace()
if kwargs and i != kwargs['object'].slug:
try:
p = Product.objects.get(slug=i)
if p not in retval['ranee']:
retval['ranee'].append(p)
except: pass
#import pdb;pdb.set_trace()
if retval['ranee']:
retval['ranee'] = retval['ranee'][::-1][:4]