def first(self):
        qs = self if self.ordered else self.order_by('pk')
        try:
            return qs[0]
        except IndexError:
            return None
Carves up a media range and returns a tuple of the
dataset/ETHPy150Open ulule/django-courriers/courriers/core.py/QuerySet.first--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/util/mimeparse.py/parse_media_range