Re: use default value for an unavailable variable on a tag

2007-03-19 Thread Jon Colverson
Michel Thadeu Sabchuk wrote: > I've done a custom tag to use on my templates and I ned to pass a > variable to it, but this variable can or cannot exists. If the > variable doesn't exists, I get an error telling that form.data doesn't > have the key "city". In your tag you can catch the exception

Re: Only getting 500 error, not 404

2007-03-04 Thread Jon Colverson
Mark Engelberg wrote: > I'm still curious about the email settings. Here's what I have, with > real info deleted to avoid spamming: I was having some trouble with my e-mail settings so I ran the Django shell and called the mail function manually which gave a useful traceback: python manage.py

Should newforms security fixes be posted to django-announce?

2007-02-09 Thread Jon Colverson
Hello. I sent a e-mail to the django security list last Friday about a XSS vulnerability in newforms. The bug was fixed on Monday in SVN revision 4460. Adrian and Jacob didn't think that it was worth posting to django-announce about it, since it only affects newforms. The justification given