Create a dictionary of parameters used in URLs for this model.

def get_url_parameters(self):
        """Create a dictionary of parameters used in URLs for this model."""
        url_fields = {}
        for field in self.url_fields:
            url_fields[field] = getattr(self, field)
        return url_fields