values() and GenericRelation

2010-05-06 Thread caio
ng: MyModel.objects.all() I could use all() result, but I must use the ForeingKey values of the field1 and field3, so I don't know how to get its values if it not the way I said before. How can I resolve this? Thanks your comments, and if it's not clear, please tell me, i'll tr

Re: values() and GenericRelation

2010-05-07 Thread caio
.field1.name. Finally, I also want to use in my template the first value of the photos_set (in my previous email i refered to this as "my_custom_set"). But again, I can specify this field as values() method's parameter. Hope it explains better the situation. Than

Re: values() and GenericRelation

2010-05-07 Thread caio
ate the whole "p.fotos_set.all". And I know I can not do filtering on a template (it's only presentation layer). Any advice is welcome, thanks again. Caio On Fri, May 7, 2010 at 7:45 AM, Daniel Roseman wrote: > On May 7, 10:53 am, caio wrote: >> I have in my mode

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-25 Thread caio
Hello, Give a try to ninja-ide: http://ninja-ide.org/ It has many plugins, including for django Regards. On Wed, Sep 24, 2014 at 8:58 PM, Adam Stein wrote: > On Wed, 2014-09-24 at 14:30 -0700, John Schmitt wrote: > > I appreciate what you said about deploying and not editing "live" files > d

Foreignkey field in admin list_filter, Django 1.0

2008-11-13 Thread caio ariede
;,) Look that list_display works fine, but I can't put 'is_staff' in list_filter, in Django 0.96 I think the method use 2 underscores, myfk__myfield (user__myfield), but now it doesn't work. How can I do? Thanks in advance. --

Re: Foreignkey field in admin list_filter, Django 1.0

2008-11-13 Thread caio ariede
Nothing about this? :( I can't put a field came from a foreignkey in a list_filter.. If someone can help.. On Thu, Nov 13, 2008 at 11:52 AM, caio ariede <[EMAIL PROTECTED]> wrote: > Hello. > > I'm trying to put a field came from a foreignkey in admin list_filter. >

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Caio Oliveira
Nice work! Wouldn't be nice to do an automatic statistic generation? Like a website with a form, that anyone could just input the data and it'd automatically update the statistics. Em quinta-feira, 26 de abril de 2012 10h31min56s UTC-3, Raphael escreveu: > > > *Hello djangos,* > > I have talk

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-06 Thread Caio Oliveira
012/5/6 Raphael > ** > Hello Caio, > > yes this could be nice, but in the end the statistics are in the need of a > more powerful interpretion than simple math could do it. > > Contribution-Link: http://develissimo.com/forum/topic/107887/ > > regards, > Raphael