def url_map(self, for_user=None, **kwargs):
        class Home:
            title = _("Home")
        home = Home()
        setattr(home, "get_absolute_url", home_slug)
        items = {home.get_absolute_url(): home}
        for model in apps.get_models():
            if issubclass(model, self.model):
                for item in (model.objects.published(for_user=for_user)
                                  .filter(**kwargs)
                                  .exclude(slug__startswith="http://")
                                  .exclude(slug__startswith="https://")):
                    items[item.get_absolute_url()] = item
        return items
adjust our binner when upsampling
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/core/managers.py/DisplayableManager.url_map--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/tseries/resample.py/TimedeltaIndexResampler._adjust_binner_for_upsample