Re: Safe settings context processor

2006-08-20 Thread Bryan Chow
I'm one of those people who uses a custom template context processor to access settings in virtually all of my templates. Specifically, I use this code [1] to access SITE_URL and MEDIA_URL so that my templates can build absolute links within my sites. However, I don't believe that this functional

Re: Safe settings context processor

2006-08-20 Thread SmileyChris
Ok, I agree that if we start putting individual settings it will lead to a bit too much pollution. But Ivan, you need to access the STYLE_URL setting. Having access to settings via SafeSettings could be useful still, right? --~--~-~--~~~---~--~~ You received this

Re: Proposal: Django Apps & Project Repository (again)

2006-08-20 Thread limodou
On 8/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi limodou, > > limodou schrieb: > > There are some threads talking about the apps repository already, but > > till now, no repository be found. So I want to suggest again: we > > should build an official project web site to host django

Proposal: Search Manipulator

2006-08-20 Thread Corey
I had a need to provide a "Search by example" form, and I thought that a new type of manipulator similar to an AddManipulator and ChangeManipulator. I've started the code, and would be happy to submit when I'm done if you guys/glas think it Django-ish enough. The idea is that a view to handle se

Re: django unicode-conversion, beginning

2006-08-20 Thread Julian 'Julik' Tarkhanov
On 20-aug-2006, at 8:55, Malcolm Tredinnick wrote: >> 5. Internally, work with unicode strings exclusively (after >> transcoding the request and the template). Response should be python >> unicode as well up until the moment it gets sent out. > > That's the idea. Not so fast. You want to be li

Re: Proposal: Django Apps & Project Repository (again)

2006-08-20 Thread dummy
Hi limodou, limodou schrieb: > There are some threads talking about the apps repository already, but > till now, no repository be found. So I want to suggest again: we > should build an official project web site to host django apps or > projects. So we can easy share our source code and exchange

Re: JavaScript and Changeset 3541

2006-08-20 Thread Bill de hÓra
Malcolm Tredinnick wrote: > On Sat, 2006-08-19 at 07:57 +, simonbun wrote: >> I'm not so sure its such a bad idea to bundle a JS toolkit with the >> framework. > > It's only been a month since the last time we had this thread. Do we > have to do this again? :-( > > Really, you bring up nothi

Proposal: Django Apps & Project Repository (again)

2006-08-20 Thread limodou
There are some threads talking about the apps repository already, but till now, no repository be found. So I want to suggest again: we should build an official project web site to host django apps or projects. So we can easy share our source code and exchange our ideas. And I think 0.95 is stable

Re: Graham Dumpleton about mod_python

2006-08-20 Thread Bjørn Stabell
I do remember posting a comment on the Django docs site about mod_python and mpm-worker crashes a while ago, but I cannot find it on the Django site anymore. In any case, we were using mod_python 3.1.3-3. I'm happy to hear it's been fixed in 3.2.8. Unfortunately, even Debian unstable is still a

Re: XSS comments from PHP Creator

2006-08-20 Thread Ahmad Alhashemi
This reminds me of the autoescaping arguments. Note that you can do this outside of Django. I think that there is something like this for apache called mod_security. It works regardless of the scripting language/framework you are using. --Ahmad On 8/20/06, Paul Sargent <[EMAIL PROTECTED]> wrote

XSS comments from PHP Creator

2006-08-20 Thread Paul Sargent
Hi all, I know the topic of auto-escaping user data comes up on here from time to time. I just wondered if others had heard this. http://www.twit.tv/floss12 PHP Creator - Rasmus Lerdorf Say what you want about PHP (I'll happily join in ;-) ), but I found it interesting to listen to the guy.

Re: Re: django unicode-conversion, beginning

2006-08-20 Thread James Bennett
On 8/20/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Metaphorically cutting off both our arms so that we appear > more aerodynamic is probably not a gain worth making. That's going in my quotes file. -- "May the forces of evil become confused on the way to your house." -- George Carlin

Re: django unicode-conversion, beginning

2006-08-20 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > Metaphorically cutting off both our arms so that we appear > more aerodynamic is probably not a gain worth making. This is the explanation! :-) >> 5. Internally, work with unicode strings exclusively (after >> transcoding the request and the template). Response shou