{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"},{"label":"General","url":"https://skillfed.io/packages/category/text-processing-general"}],"enrichment":{"capability":"Provides a Django model field that automatically generates and maintains URL-friendly slugs from other fields, with built-in uniqueness enforcement and support for custom slugification logic.","skillfed_tags":["django-field","url-slug","i18n"],"use_cases":["Auto-generate URL slugs for blog posts, articles, or product pages from their titles without manual slug management.","Enforce unique slugs per author or category by scoping uniqueness constraints to related fields.","Handle international content with custom slugify functions that transliterate non-ASCII characters appropriately.","Reduce boilerplate in Django models by replacing manual slug-generation logic with a declarative field.","Maintain slug consistency across model updates\u2014the field regenerates automatically when the source field changes."],"what_it_does":"django-autoslug is a reusable Django library that adds an AutoSlugField to your models\u2014a specialized CharField that automatically generates URL-safe slugs from other model fields. Instead of manually creating and maintaining slug values, you configure the field to populate itself from a source field (like a title), and it handles the conversion to lowercase, hyphenated text automatically. The field enforces uniqueness constraints, optionally scoped to other fields, so you can have unique slugs per author or per publication date if needed.\n\nThe main value is reducing boilerplate in Django projects: you avoid writing custom save() methods or signals to generate slugs, and you get built-in support for custom slugification functions to handle non-ASCII characters and internationalization. The field is highly configurable\u2014you can supply a lambda to derive the slug from multiple fields, define which other fields must be considered when checking uniqueness, and plug in your own slugify function. It has no external runtime dependencies beyond Django itself.","worth_installing":"Yes, with conditions. django-autoslug is stable, well-established (since 2009), and solves a common Django problem cleanly with zero external dependencies. However, the last release was April 2023 and maintenance is aging; verify compatibility with your current Django version before adopting. No known security vulnerabilities. The LGPL license is permissive for most use cases but requires derivative works to remain open-source."},"id":"django-autoslug","links":{"html":"https://skillfed.io/packages/django-autoslug","md":"https://skillfed.io/packages/django-autoslug.md","pypi":"https://pypi.org/project/django-autoslug/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-04-03","license_spdx":null,"license_treatment":"copyleft","name":"django-autoslug","python_support":"unspecified","summary":"An automated slug field for Django."},"popularity":{"monthly_downloads":408571,"position":6879,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.9"}
