Django Slug Field



    Django Public Recipes

    A SlugField is a field that stores a single string value. The max_length attribute sets the length of the field's value.

    Library: django

    Shortcut: django.field.slug

    fieldName = models.SlugField(max_length = 50)
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.