Re: Generic relationships between existing entities, many2many

2012-02-08 Thread arkai...@gmail.com
rentband%} > {%gettags Bands currentarticle as bandtags_for_this_article%} > {%tagcount currentband %} > -- Arkaitz On Tue, Feb 7, 2012 at 7:11 PM, arkai...@gmail.com wrote: > Hi, > > So, I have the 4 entities represented below which are strong and > independent entities on my appli

Filtering html for django comments

2011-10-07 Thread arkai...@gmail.com
Hi all, I'm working on a comments addon for my app and I'm checking the alternatives for urlizing and securing what users write in comments. I thought that just using Djangos default autoescape( not doing anything) plus the |urlize filter like " {{comment|urlize}}" would be enough, but I've seen ex

Re: Filtering html for django comments

2011-10-07 Thread arkai...@gmail.com
autoescape. Thanks -- Arkaitz On Fri, Oct 7, 2011 at 2:50 PM, Tom Evans wrote: > On Fri, Oct 7, 2011 at 9:00 AM, arkai...@gmail.com > wrote: > > Hi all, > > I'm working on a comments addon for my app and I'm checking the > alternatives > > for urlizing and

Re: Transform model field to custom form field when creating from instance

2011-07-28 Thread arkai...@gmail.com
On Thu, Jul 28, 2011 at 9:58 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > > I use a CharField and a > > clean_test(): to convert the comma separated list of test names to a > > list of Test objects and this works perfectly. > > Err... How do this work for not yet existing Test