def get_absolute_url(self):
        url_name = "blog_post_detail"
        kwargs = {"slug": self.slug}
        date_parts = ("year", "month", "day")
        if settings.BLOG_URLS_DATE_FORMAT in date_parts:
            url_name = "blog_post_detail_%s" % settings.BLOG_URLS_DATE_FORMAT
            for date_part in date_parts:
                date_value = str(getattr(self.publish_date, date_part))
                if len(date_value) == 1:
                    date_value = "0%s" % date_value
                kwargs[date_part] = date_value
                if date_part == settings.BLOG_URLS_DATE_FORMAT:
                    break
        return reverse(url_name, kwargs=kwargs)
Registers a basic block as a site for control flow to return from this function.
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/blog/models.py/BlogPost.get_absolute_url--crossover with--dataset/ETHPy150Open angr/angr/angr/knowledge/function.py/Function._add_return_site