DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

4

Remove "%...% in urls

1

My urls in django have %.... How can I change that? At first this was ok but suddenly changed at some point in my day. My views, models and urls are as follow:

class Rant(UUIDModel, TitleSlugDescriptionModel, TimeStampedModel, models.Model)
    categories = models.ManyToManyField(Category)

    def slugify_function(self, content):
        return content.replace("_", "-").lower()

    def get_absolute_url(self):

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more