def get_content_type(self):
        return ContentType.objects.get_for_model(self)
Given a URL path, remove extra '/'s and '.' path elements and collapse
dataset/ETHPy150Open Nikola-K/django_reddit/django_reddit/utils/model_utils.py/ContentTypeAware.get_content_type--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/CGIHTTPServer.py/_url_collapse_path_split