Re: Calling remote API

2010-07-08 Thread james_027
0 at 10:36 AM, james_027 wrote: > > hi all, > > > It will be my first time to create django app that requires calling > > remote API. aside from URLLIB2, any good library for this purpose? > > Questions like this should be directed to django-users. > Django-developers is a

Calling remote API

2010-07-08 Thread james_027
hi all, It will be my first time to create django app that requires calling remote API. aside from URLLIB2, any good library for this purpose? thanks, James -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email

newforms with model or database level validation

2007-09-04 Thread james_027
hi, Is there a plan on making newforms be able to validate on the model or database level like unique=true? although is can be done customizing the cleaning methods of the newforms but I think it could be nice to have such capability built in Thanks james --~--~-~--~~~-

auto_name for newforms

2007-08-22 Thread james_027
hi, while the auto_id features of newforms is more on dealing on the client side, could it good to have auto_name feature also? To give you an idea, I am dealing here with a master details form where in the details part will compose of more than one same kind of form, which the data could be diff

clean method on ModelChoiceField

2007-08-17 Thread james_027
hi, while doing some experiment with ModelChoiceField, and having success with this settings ModelChoiceField(Item.objects.all(), widget=TextInput). There's one thing that didn't work right for me ... If I have Item.objects.filter(name__icontains=='sony') instead of Item.objects.all() and the inp

Re: input type=hidden for newforms

2007-08-10 Thread james_027
Hi SmileyChris > > A Widget (not Field) is responsible for the display - and there's a > HiddenInput widget already. Thanks for revealing this to me. can I apply the widget = HiddenInput to any field? cheers, james --~--~-~--~~~---~--~~ You received this mess

input type=hidden for newforms

2007-08-10 Thread james_027
Hi, this might sound stupid but is there a good reason for adding HiddenField for newforms? cheers, james --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send emai

Is this not allowed select_related()

2007-08-08 Thread james_027
hi, I have this model which doesn't work when using select_related(). What happen is django seems to be in a infinite loop. class Employee(models.Model): employee_contract = models.ForeignKey('EmployeeContract', related_name='contracted_employee') employee_assignment = models.ForeignKe