Hello i have this:
errore = """
{ alert('test_js')};
"""
return mark_safe(errore)
I get this error : AttributeError: 'SafeString' object has no
attribute 'status_code'
can you help me to write the correct one?
Thanks
Luca
--~--~-~--~~-
On Aug 25, 2:07 pm, luca72 wrote:
> Hello i have this:
> errore = """
> { alert('test_js')};
> """
> return mark_safe(errore)
> I get this error : AttributeError: 'SafeString' object has no
> attribute 'status_code'
> can you help me to write the correct on
Thanks now it works
Luca
On 25 Ago, 15:12, Daniel Roseman wrote:
> On Aug 25, 2:07 pm, luca72 wrote:
>
> > Hello i have this:
> > errore = """
> > { alert('test_js')};
> > """
> > return mark_safe(errore)
> > I get this error : AttributeError: 'SafeStrin
On Mon, 2008-12-15 at 06:22 -0800, coulix wrote:
> Hello Djangonauts,
> I have a custom widget to create a kind of group list which ommits the
> last "/" at the end of an input field.
> Making html validation to fail.
>
> The important code is here:
>
>rendered_cb = cb.render(name, option_v
Hello Djangonauts,
I have a custom widget to create a kind of group list which ommits the
last "/" at the end of an input field.
Making html validation to fail.
The important code is here:
rendered_cb = cb.render(name, option_value)
print rendered_cb
output.append(u'%s %s' % (
Hello Djangonauts,
I have a custom widget to create a kind of group list which ommits the
last "/" at the end of an input field.
Making html validation to fail.
The important code is here:
rendered_cb = cb.render(name, option_value)
print rendered_cb
output.append(u'%s %s' % (
6 matches
Mail list logo