@staticmethod
    def get_for_uid(uid):

        model, pk = uid.split(":")
        type = ContentType.objects.get(model=model)
        return type.get_object_for_this_type(pk=pk)
Return the object (an instance of a subclass of Location) named
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/contrib/locations/models.py/Location.get_for_uid