(self, urls)
Update the object's URLS to the given list

        'urls' should be a list of strings. Slugs that do not exist are
        created.  Existing urls that are not in the 'urls' list are
        deleted.
Update the object's URLS to the given list
Update the object s URLS to the given list
def set_urls(self, urls):
        """Update the object's URLS to the given list

        'urls' should be a list of strings. Slugs that do not exist are
        created.  Existing urls that are not in the 'urls' list are
        deleted."""
        urls = [utils.to_maxlength(URL, "url", url) for url in urls]
        existing = {u.url: u for u in self.urls.all()}
        utils.set_ordered_entries(self, urls, existing, URL, "url", "content_object")
def set_urls ( self , urls ) : urls = [ utils . to_maxlength ( URL , "url" , url ) for url in urls ] existing = { u . url : u for u in self . urls . all ( ) } utils . set_ordered_entries ( self , urls , existing , URL , "url" , "content_object" )