@classmethod
def get_from_queryset(cls, queryset, path_fragment):
    """
        Called by containing QuerySetResource to filter the QuerySet down
        to a single item -- represented by this ModelResource
        """
    attr, type_ = cls.published_key
    kwargs = dict()
    kwargs[attr] = type_(path_fragment)
    return queryset.get(**kwargs)
