Re: Is it possible to use custom template tag inside another tag?

2009-10-05 Thread Andrius A
Thanks for advice! On Oct 4, 2009 9:23 PM, "AmanKow" wrote: > custom tag is a function - cant you just assing its return in view > into variable and send this... The usual way to go about this would be to modify your tag to take an optional "as var_name". When the tag has the optional portion,

Re: Url params with space

2009-10-23 Thread Andrius A
Hi Sumanth, Yes we do. Use urlib.unquote_plus() Regards, Andrius On 23 Oct 2009 17:14, "Sumanth" wrote: Hi All, I have url as show below http://localhost:8000/view/1/1/?scenario=Base,%20Credit now when I do a request.REQUEST['scenario'] I see a value of 'Base,+Credit' I get char + instea

Re: avoid pre filled registration form

2010-02-24 Thread Andrius A
Hi, Use autocomplete="off" attribute in your input fields. On 24 Feb 2010 07:58, "andreas schmid" wrote: hi, im using django registration to allow people to register to my site. the ugly thing is that the registration form is pre filled by the browser in a wrong way. the form has the usual 4