जब मैं django कोड पढ़ता हूं तो मैं अक्सर मॉडल में देखता हूं जिसे "sku" कहा जाता है, और "slug"। उदा:डीजेंगो में एसकेयू क्या है?
name = models.CharField(_("Full Name"), max_length=255, blank=False,
help_text=_("This is what the product will be called in the default site language. To add non-default translations, use the Product Translation section below."))
slug = models.SlugField(_("Slug Name"), blank=True,
help_text=_("Used for URLs, auto-generated from name if blank"), max_length=255)
sku = models.CharField(_("SKU"), max_length=255, blank=True, null=True,
help_text=_("Defaults to slug if left blank"))
मुझे यकीन है कि स्लग यूआरएल के साथ संबंध है क्या नहीं कर रहा हूँ।
इस एसकेयू का उपयोग कब और कब किया जाना चाहिए?
अधिक विस्तृत जानकारी के लिए उत्तर के रूप में चुना गया है। – panchicore