Please give us the full traceback and exact line of code it occurred on. There isn't enough information right now.
On Sun, Feb 26, 2012 at 1:38 PM, Mario Gudelj <[email protected]> wrote: > In print 'time' what's time? Should you not have print exp_datetime? > > > On 27 February 2012 01:27, Stanwin Siow <[email protected]> wrote: >> >> Hello, >> >> I have the following method: >> >> def subscribe_keyword(userid,subDay =7,KEYWORD_SET=frozenset()): >> try: >> ... >> >> sub_datetime = datetime.datetime.now() >> exp_datetime = sub_datetime + timedelta(days=subDay) >> print 'time' >> >> However when i try to run my app, >> >> The following error throws at those two lines. >> >> Err: sequence item 0: expected string, int found >> >> Is there something wrong with the module? >> >> >> >> >> >> Best Regards, >> >> Stanwin Siow >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

