'Get objects within a certain range of dbrefs.
Args:
min_dbref (int): Start of dbref range.
max_dbref (int): End of dbref range (inclusive)
Returns:
objects (list): TypedObjects with dbrefs within
the given dbref ranges.'

@returns_typeclass_list
def get_dbref_range(self, min_dbref=None, max_dbref=None):

    retval = super(TypedObjectManager, self).all()
    if (min_dbref is not None):
        retval = retval.filter(id__gte=self.dbref(min_dbref, reqhash=False))
    if (max_dbref is not None):
        retval = retval.filter(id__lte=self.dbref(max_dbref, reqhash=False))
    return retval
