Hello! My name is Denis and I can help you.
2013/7/1 George Kazarian
> We are a London based online retail startup (currently in test-launch).
> The website is up and running with a fully functioning payment system. Our
> soft launch is planned for July 25th.
>
> The website requires some chang
You can pass filter params like a dict -
Player.objects.filter(**your_dict), so you need only prepare your dict from
POST.
8 жовт. 2013 17:42, користувач "Hélio Miranda" написав:
> Hi
> Here I am having a problem which is as follows:
> I 'm getting parameters via post to make querys depending on
For position you may have dict like - **{' position__in ':
Position.objects. filter(name=positionpost) }
9 жовт. 2013 11:45, користувач "Hélio Miranda" написав:
> hi, thanks that helped a lot.
> But I have a problem which is, for example when I do a filter by position,
> is not direct as other fi
See, maybe like this?
http://plnkr.co/edit/cyM6AmZcyFVUU6soFKhB
2013/10/9 Hélio Miranda
> I have code like this:
> http://plnkr.co/edit/L1ByIyFyaEdgwrfVU7Jr
>
> Just do not know how to put this part in the code ...
> Where do I put this part?
>
> --
> You received this message because you are s
Try this - *Player.objects.filter(country__in=**
Nationality.objects.filter(name='Espanhola').distinct('country').values('country'))
*
2013/10/9 Hélio Miranda
> yes, that was it ...
> Just one more thing, if I would like to create the nationality of the
> player, so that the filter is:
> *
> Pl
Sorry, i don't understand you... You can control all your values for all
fields, you can generate dict which you like.
2013/10/9 Hélio Miranda
> I put that work, I wanted to know was how to put in the code, because you
> can not do the same to position
>
> --
> You received this message because
*fld_name = 'nationality_in' *must be with double '_'* **fld_name =
'nationality__in'*
2013/10/9 Denis Chernoshchekov
> Sorry, i don't understand you... You can control all your values for all
> fields, you can generate dict which you like.
>
>
ok, i understand, i minute.
2013/10/9 Denis Chernoshchekov
> *fld_name = 'nationality_in' *must be with double '_'* **fld_name =
> 'nationality__in'*
>
>
> 2013/10/9 Denis Chernoshchekov
>
>> Sorry, i don't understand you... You can
try this solution
http://plnkr.co/edit/cyM6AmZcyFVUU6soFKhB
2013/10/9 Denis Chernoshchekov
> ok, i understand, i minute.
>
>
> 2013/10/9 Denis Chernoshchekov
>
>> *fld_name = 'nationality_in' *must be with double '_'* **fld_name =
>> 'natio
Your right... I can't testing now.
2013/10/9 Hélio Miranda
> gives error:
> 'BaseList' object has no attribute 'values'
>
> The query has to be the same as I stated it works:
> *
> Player.objects.filter(country__in=Country.objects.filter(nationality__in=Nationality.objects.filter(name='Espanhol
Try using Ajax.
2014/1/5 fabricio
> I am needing to display a wait message while processing perform some
> process on the server anyone could help me
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and s
11 matches
Mail list logo