How to add meta keyword with django
问题 I am using below code to add meta keywords - in view.py @template_render("mysite/category.html") def category(request, slug): slug = slug.lower() product_type = local_settings.CATEGORY_NAME_TO_ID.get(slug, False) if not product_type: raise Http404 products = models.Product.objects.active().filter(product_type = product_type).all() return { 'products' : products, 'slug' : slug, 'key':'wholesale ipad, ipad with retina display, ipad mini, ipad 3, ipad 2',} And in template file - {% extends "base