Re: Template variables in filter arguments not parsed correctly

2007-11-03 Thread Thejaswi Puthraya
> There's really no need to open a ticket and report it here. We already > get mail for every ticket opened, so the net effect is just increasing > the amount of email we get. Please don't do that -- I have enough to > read already. :-( Sorrydidn't know that. Will keep this in mind. > You ar

Re: Template variables in filter arguments not parsed correctly

2007-11-03 Thread Malcolm Tredinnick
On Sun, 2007-11-04 at 03:22 +, Thejaswi Puthraya wrote: > Whenever a variable is used in a filter's arguments (have checked for > slice only...might be applicable for other filters also) it is wrongly > parsed and we get a TemplateSyntaxError which says "slice requires 1 > arguments, 0 provide

Template variables in filter arguments not parsed correctly

2007-11-03 Thread Thejaswi Puthraya
Whenever a variable is used in a filter's arguments (have checked for slice only...might be applicable for other filters also) it is wrongly parsed and we get a TemplateSyntaxError which says "slice requires 1 arguments, 0 provided". From the traceback here is what I received on the output: The t

Re: to_python ignored with custom IntegerField

2007-11-03 Thread Stefan Foulis [spiderware gmbh]
Sorry for posting on the wrong list. I thought this was a rather "low- level" django problem :-) I'll re-post on django-users thanks On 4. Nov 2007, at 24:59, Malcolm Tredinnick wrote: > > On Sat, 2007-11-03 at 21:18 +0100, Stefan Foulis [spiderware gmbh] > wrote: >> I've tried to create a cus

docs and doc strings

2007-11-03 Thread Carl Karsten
I just stumbled into some doc mush, and wondering if some code wouldn't make the world a more accurately documented place. It started with http://code.djangoproject.com/ticket/5870 which is basically help( send_mail ) says "NOTE: This method is deprecated. It exists for backwards compatibilit

Re: to_python ignored with custom IntegerField

2007-11-03 Thread Malcolm Tredinnick
On Sat, 2007-11-03 at 21:18 +0100, Stefan Foulis [spiderware gmbh] wrote: > I've tried to create a custom Field for the database to store > Timedelta objects. Since I only need exactness to the minute and won't > have any large timedeltas I'm using a simple Integer to store it in > the datab

Re: I'm trying to korean translation of The Django Book.

2007-11-03 Thread Malcolm Tredinnick
On Sat, 2007-11-03 at 13:01 -0700, Spike^ekipS wrote: > Hi, folks. > > I'm trying to translate the django book(http://www.djangobook.com/) Keep in mind that the final version of the book will be a bit different from what is on the website. The site hasn't been updated during final edits for the

to_python ignored with custom IntegerField

2007-11-03 Thread Stefan Foulis [spiderware gmbh]
I've tried to create a custom Field for the database to store Timedelta objects. Since I only need exactness to the minute and won't have any large timedeltas I'm using a simple Integer to store it in the database. Maybe I'll make this configurable later. this is the code: from

I'm trying to korean translation of The Django Book.

2007-11-03 Thread Spike^ekipS
Hi, folks. I'm trying to translate the django book(http://www.djangobook.com/) and the django documentation page(http://www.djangoproject.com/ documentation/) into korean. Are there any official policies to support the translation work, or any translation works into other languages? Thanks. -

Re: Newforms proxy serialization problem

2007-11-03 Thread andrew gleave
Thanks Karen, I'll try that now. On Nov 3, 2:29 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 11/3/07, andrew gleave <[EMAIL PROTECTED]> wrote: > > > > > I've added some sample code which illustrates the problem. Still > > can't submit anything to the Trac. > > Have you tried creating an ac

Re: Newforms proxy serialization problem

2007-11-03 Thread Karen Tracey
On 11/3/07, andrew gleave <[EMAIL PROTECTED]> wrote: > > I've added some sample code which illustrates the problem. Still > can't submit anything to the Trac. Have you tried creating an account? Here's the registration page: http://www.djangoproject.com/accounts/register/ It says with an acco

Re: Newforms proxy serialization problem

2007-11-03 Thread andrew gleave
I've added some sample code which illustrates the problem. Still can't submit anything to the Trac. from django import newforms as forms from django.utils import simplejson class ContactForm(forms.Form): subject = forms.CharField(max_length=100) message = forms.CharField() sender =