Thank you that was it :)
On Mar 23, 5:01 pm, Briel wrote:
> Hi.
>
> It sounds like you have run into the auto escape filter. It basically
> converts html tags into something viewable but not html. This is
> a protective matter, to protect your site from cross site scripting
Hi.
It sounds like you have run into the auto escape filter. It basically
converts html tags into something viewable but not html. This is
a protective matter, to protect your site from cross site scripting
attacks, that can take down your site and worse. If you want to
display some html from
Hi all,
I'm a django newbie. I have a mysql database backend and when I try to
output html from the database I'm getting all the html as
ampersand + l + t + ;
So then when I view the page I'm basically seeing all the html tags.
mysql server - 5.1.30
Thoughts?
What am I doing wrong?
thanks
Aah, ok. I think this might work:
exclude(number_iregex = r'^(1?(281|832|713|800).*|.{,6})$')
That excludes anything that matches your existing pattern or which is
exactly six characters or less. Please be sure to test it though as this is
off the cuff. :)
-- Scott
On Wed, Jul 2, 2008 at
hey Scott, that worked perfectly thanks
On Jul 2, 11:16 am, mike171562 <[EMAIL PROTECTED]> wrote:
> Scott,
>
> Thanks, I'm already using long_distance =
> call.exclude(number__iregex=r'^1?(281|832|713|800)')
> to filter long distance numbers so, the new regex would be
>
> something like
Scott,
Thanks, I'm already using long_distance =
call.exclude(number__iregex=r'^1?(281|832|713|800)')
to filter long distance numbers so, the new regex would be
something like iregex=r'^1?(281|832|713|800)^.{7,}')
does that look right?
On Jul 2, 11:04 am, "Scott Moonen" <[EMAIL PROTECTED]>
Mike, you might try this:
call.filter(number__regex = r'^.{7,}')
That uses a regular expression that matches strings of length 7 characters
or more.
-- Scott
On Wed, Jul 2, 2008 at 11:59 AM, mike171562 <[EMAIL PROTECTED]>
wrote:
>
> hello,
>I am working on a web app that pulls call
hello,
I am working on a web app that pulls call logs from a database
and displays them. I am working with the greater than and less than
functions to filter out phone numbers less than 7 digits long i.e.
internal extensions. When I use something like
call.filter(number__gte=7) however,
8 matches
Mail list logo