Intelligent slug computing
Project description
A slug field that automatically calculates its value.
Options
All options that are available for django.db.models.SlugField are also available AISlugField.
populate_from: Property on the model that is the base for the computed slug, defaults to 'title'
slugify: User defined slugify callback function to compute the slug from populate_from
invalid: List or function that returns a list of invalid values
queryset: Queryset to use for making the slug unique within the queryset scope, default value is the default manager
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-aislug-0.1.tar.gz
(3.3 kB
view details)
File details
Details for the file django-aislug-0.1.tar.gz
.
File metadata
- Download URL: django-aislug-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321b61058053ce28f850bc77d8b19c72c7a3efb181c7d53c4e8cf07f2a8e200b |
|
MD5 | 6ca67df22912b7a680b74f49b9efe791 |
|
BLAKE2b-256 | f3f8d26595cb774c779ff62fe69242610f06d0b774600c8a5c5e7dde8aa907c1 |