django-primary-slug / docs / configuration.rst


This section contains information about how to configure your Django projects to use django-primary-slug and also contains a quick reference of the available settings that can be used in order to customize the functionality of this application.

Configuring your project

In the Django project's settings module, add primary_slug to the INSTALLED_APPS setting:


Reference of the application settings

The following settings can be specified in the Django project's settings module to customize the functionality of django-primary-slug.

Set a function that should be used to produce the slug. By default, primary_slug.utils.simple_slugify is used.

A string containing all characters that should be valid for the slugfield. A properly decoded string is required if you use non-latin characters. Eg: