I noticed that this ticket has just been closed. Just wanted to say
Thanks to the Django dev team for finally accepting our patch!
http://code.djangoproject.com/ticket/1650
Cheers,
Bryan :)
Bryan Chow wrote:
> Just wanted to bring attention back to this issue. A few months ago,
> Ian Clelland
When I use google ajax search api,and got the key,use the example html.
javascript error
On 7/28/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
>
> On 7/27/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >
> > FWIWwebfaction has offered this for a while for python
> > http://www.webfaction.com/freetrac
Deryck Hodge wrote:
> On 7/27/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>> Make a setting to turn define the default, and if the setting's not
>> there, auto-escape.
>> Anyone that doesn't want it can just turn it off by defining the setting.
>>
>> AUTO_ESCAPE_TEXT = _True_|False
>
> This is th
On 7/28/06, Bill de hÓra <[EMAIL PROTECTED]> wrote:
> Scope it per template:
>
> {% extends "base_generic.html" %}
> {% escape %}
>
> This lets people who want auto-escaping, have it, without typing in
> "|escape" everywhere or screwing things up site wide with globals.
Yeah. AFAIK that's pretty
I must say I really like Luke's (I think it was Luke) idea of
different tags for escaping vs. auto-escaping.
What if we deprecated {{ }} and replaced it with an escape tag and a
raw tag? It would keep backward compatibility, but would encourage
people to use escaped strings unless they have
On 28 Jul 2006, at 13:06, Todd O'Bryan wrote:
> What if we deprecated {{ }} and replaced it with an escape tag and a
> raw tag? It would keep backward compatibility, but would encourage
> people to use escaped strings unless they have a reason to use raw
> ones. I suppose we don't really have to
On 7/27/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
>
> On 7/27/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Make a setting to turn define the default, and if the setting's not
> > there, auto-escape.
> > Anyone that doesn't want it can just turn it off by defining the setting.
> >
> > AUTO_ESC
Simon Willison wrote:
> Here's an idea I don't think anyone has brought up yet: what if
> escaping was on by default for templates ending in .html and off by
> default for templates ending in .txt?
This does seem like a practical solution. But I think that it gives
more meaning to template file n
On 7/28/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> So, I'll hold my water until we hear back from Jacob et al.
>
I didn't mean to seem like I was saying "so shut up already". :-)
This just keeps coming up with the same arguments for and against over
and over again. My apologies if I seemed ha
On 7/28/06, Peter Ma <[EMAIL PROTECTED]> wrote:
>
> When I use google ajax search api,and got the key,use the example html.
> javascript error
Hi, Peter.
This is not the forum for Google code errors. This is a Django
developers group. Try the codesite-discuss group.
http://groups.google.com/gr
Stumbled upon ticket #1030 while writing my app, got angry.
Investigated the code and came to conclusion that the most probable
source of problem is this:
django_src/django/db/models/fields/__init__.py
class DateField(Field):
def get_follow(self, override=None):
if override != None:
On 7/27/06, Doug Van Horn <[EMAIL PROTECTED]> wrote:
> I don't know if anyone will find this useful, but I thought I'd throw
> it out there.
>
> I wrote a little Middleware class to strip trailing and leading
> whitespace from a response:
Hey Doug,
Thanks for contributing this! If you could, pos
On 07/28/06 15:34, Ahmad Alhashemi wrote:
>
> Bill de hÓra wrote:
>> Scope it per template:
>>
>> {% extends "base_generic.html" %}
>> {% escape %}
>>
>> This lets people who want auto-escaping, have it, without typing in
>> "|escape" everywhere or screwing things up site wide with globals.
>
>
On Fri, 2006-07-28 at 12:39 +0100, Bill de hÓra wrote:
> Deryck Hodge wrote:
> > On 7/27/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> >> Make a setting to turn define the default, and if the setting's not
> >> there, auto-escape.
> >> Anyone that doesn't want it can just turn it off by defining t
On Jul 27, 2006, at 5:53 PM, Simon Willison wrote:
> Here's an idea I don't think anyone has brought up yet: what if
> escaping was on by default for templates ending in .html and off by
> default for templates ending in .txt?
>
> I'm not sure how I feel about this, seeing as we only recently made
On 7/27/06, Simon Willison <[EMAIL PROTECTED]> wrote:
> Here's an idea I don't think anyone has brought up yet: what if
> escaping was on by default for templates ending in .html and off by
> default for templates ending in .txt?
I'm not keen on coupling the template filename to the template
cont
On Jul 28, 2006, at 9:21 PM, Adrian Holovaty wrote:
>
> On 7/27/06, Simon Willison <[EMAIL PROTECTED]> wrote:
>> Here's an idea I don't think anyone has brought up yet: what if
>> escaping was on by default for templates ending in .html and off by
>> default for templates ending in .txt?
>
> I'm
On 7/28/06, Roland van Laar <[EMAIL PROTECTED]> wrote:
> Would it be better to couple it with the mimetype? A text/plain should
> by default not be excaped.
What would be *best* is for there to be no magical implied
escaping/unescaping of anything, only explicit escaping/unescaping
based on a tem
Hi
I'm just testing the waters to see what people think about an extended
ManyToManyField type that allows the addition of extra info to a link
withouth having to use an intermediary table/model like here:
http://www.djangoproject.com/documentation/models/m2m_intermediary/ .
Using the intermedia
Hi Neilen.I think this would be a good idea, as I frequently have a M2M type relationship with one or two fields on that field.but personally I just use foreign keys on the middle table, as I think it makes the code more readable, and allows you to be moreflexible with it. (for example a M2M with a
I've raised Ticket 2445 and attached a small patch - it sounds similar to
Ticket 2193, but 2193 might be intended to be even more general (not just
values).
http://code.djangoproject.com/ticket/2445
http://code.djangoproject.com/ticket/2193
--~--~-~--~~~---~--~---
I'm pretty late on this, but for the record...
...while I totally appreciate that you're reading my blog and you value
what I think, the truth is that my feelings on the matter are almost
completely irrelevant. When to release a build is entirely up to
Adrian, Jacob, and the other core developers
On 7/29/06, Michael Hamilton <[EMAIL PROTECTED]> wrote:
I've raised Ticket 2445 and attached a small patch - it sounds similar toTicket 2193, but 2193 might be intended to be even more general (not justvalues).Looks like a duplicate to me - I've marked #2193 as such (patch trumps empty ticket).
Th
23 matches
Mail list logo