Re: change min_length in form __init__?

2012-01-12 Thread Wen Yekui
why you use the "*" in your function argument? 2012/1/11 galgal > Is there any way, to change the field's *min_length* argument inside form > constructor? That doesn't work: > > def __init__(self, *args, **kwargs): >> super(CreateTeamForm, self).__init__(*args,

Re: scheduling in future

2012-01-10 Thread Wen Yekui
about sending email,you can utilize the libary function of django to do so 2012/1/11 Wen 温业逵Yekui <wenye...@yuejia.net> > when you get the request of that user,you can get the "date" about the > user from database ,then check if that date is today > > &

Re: scheduling in future

2012-01-10 Thread Wen Yekui
when you get the request of that user,you can get the "date" about the user from database ,then check if that date is today 2012/1/11 Mike Dewhirst > What is the best way to schedule future events in Django? > > I have a table with future dates and user info. When

Re: what is django.db.models.Q for?

2012-01-10 Thread Wen Yekui
thanks! 2012/1/11 Eugene Wee > Hi, > > On Wed, Jan 11, 2012 at 10:27 AM, Yekui Wen wrote: > > can you guys tell me what is the Q method for ? > > Yes, though they are Q objects, not methods. Refer to: > >