Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geolist/views.py   GeoRemindMe_Web(Download)
    '''
    if len(lists_id) == 1:
        from models import ListRequested
        list = ListRequested.objects.get_by_id_querier(lists_id[0], request.user)
        if list is not None:
def mod_list_requested(request, id, instances_add=[]):
    from models import ListRequested
    list = ListRequested.objects.get_by_id_querier(id, querier=request.user)
    if list is not None:
        list.update(request.user, instances_add=instances_add)
        :returns: [query_id, [:class:`geolist.models.ListSuggestion`]
    '''
    from models import ListRequested
    list = ListRequested.objects.get_by_id_querier(list_id, querier=request.user)
    return list

src/g/e/GeoRemindMe_Web-HEAD/src/webapp/geolist/forms.py   GeoRemindMe_Web(Download)
    def save(self, **kwargs):
        from geouser.models import User
        if not isinstance(kwargs['user'], User):
            raise TypeError
        from models import ListRequested