(self, slug)
Removes a slug
Removes a slug
Removes a slug
def remove_slug(self, slug):
        """Removes a slug"""
        Slug.objects.filter(
            slug=slug,
            content_type=ContentType.objects.get_for_model(self),
            object_id=self.id,
        ).delete()
def remove_slug ( self , slug ) : Slug . objects . filter ( slug = slug , content_type = ContentType . objects . get_for_model ( self ) , object_id = self . id , ) . delete ( )