Questions tagged [slugify]

Slugify is a PHP library which helps to convert a string into a slug.

Slugify

  • Removes all special characters from a string. Provides custom replacements for German, French, Spanish, Russian, Ukrainian, Polish, Czech, Latvian, Greek, Esperanto¹, Arabian, Vietnamese and Burmese special characters.
  • Instead of removing these characters, Slugify approximates them (e.g., ae replaces ä).
  • No external dependencies.
  • PSR-4 compatible.
  • Compatible with PHP >= 5.3.3 and HHVM.
  • Integrations for Symfony2, Silex, Laravel, Twig, Zend Framework 2, Nette Framework and Latte.
63 questions
0
votes
1 answer

Slug error in django

I am new to django and currently learning the basics. However, I am stuck with the slug module. Hope to find a solution. Thanks in advance. While running the migration command python manage.py makemigrations rango python manage.py migrate I keep…
user61092
  • 146
  • 2
  • 10
0
votes
1 answer

Completely remove separators using slugify

I am using slugify to generate the users slug but I want to remove dashes, dots, spaces and every type character that would be considered a separator.
Paulo Coghi
  • 13,724
  • 14
  • 68
  • 90
-1
votes
1 answer

how to auto-populate slug field in django forms

i want to allow users of a website create blog post from a form that i made, but the slug field does not get populated automatically from the frontend but from the backend (admin page) it does get populated, and that is not what i want. I want the…
1 2 3 4
5