So I’m trying to build a Django CMS (3.7.4) site to replace an existing Django site. One of the pages on the original has a URL with CamelCase
, but the “Change Page” admin form forces the slug to lowercase when I save.
I think I’ve traced it down to cms/admin/forms.py
line 138, where BasePageForm.clean_slug
does slug = slugify(self.cleaned_data['slug'])
. Does anyone have a recommendation for the best way to disable this “feature”?
I expect that, when manually changing a slug field, that the system not refill it with a generated value. (And, frankly, it seems silly to slugify a slug; you slugify titles.)