Re: Can you add a build-in template tags?

2009-10-25 Thread butterhuang
Thank you very much!! Michael P. Jung wrote: > > How can I cache the sub-template witch is included in the main > > template? And how can I ensure it won't be render(parse) the next > > request? > > If you look at django.template.loader_tags.do_include you'll notice an > if statement that checks

Re: 1.2 Feature Suggestion

2009-10-25 Thread Russell Keith-Magee
On Mon, Oct 26, 2009 at 9:40 AM, James Bennett wrote: > > On Sun, Oct 25, 2009 at 8:30 PM, Russell Keith-Magee > wrote: >> A wiki page doesn't really solve the problem either. If you make it an >> exclusive list, someone has to decide who is on the

Re: Doubt about urlencode filter implementation

2009-10-25 Thread Joe Tyson
I believe that's the expected outcome.. The use is to encode something for the use in an URL... Eg. convert "some-crazy//user?input" into something that can safely be passed into http://www.google.com/search?q=URL_ENCODED_STRING On Sun, Oct 25, 2009 at 9:14 PM, Danilo Cabello

Re: 1.2 Feature Suggestion

2009-10-25 Thread James Bennett
On Sun, Oct 25, 2009 at 8:30 PM, Russell Keith-Magee wrote: > A wiki page doesn't really solve the problem either. If you make it an > exclusive list, someone has to decide who is on the list and who > isn't. If you make it a comprehensive list, a wiki page will very >

Re: 1.2 Feature Suggestion

2009-10-25 Thread Joshua Russo
On Mon, Oct 26, 2009 at 12:30 AM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > > A wiki page doesn't really solve the problem either. If you make it an > exclusive list, someone has to decide who is on the list and who > isn't. If you make it a comprehensive list, a wiki page will very

Re: 1.2 Feature Suggestion

2009-10-25 Thread Russell Keith-Magee
On Mon, Oct 26, 2009 at 8:32 AM, Tobias McNulty wrote: > On Sun, Oct 25, 2009 at 7:39 PM, Dan wrote: >> >> I didn't know about rosetta. What would you guys think of having a doc >> section about popular third party apps? Putting a list of

Doubt about urlencode filter implementation

2009-10-25 Thread Danilo Cabello
Hi, Looking for urlencode[1] implementation, I saw[2] that it uses urlquote on django.utils.http[3] and when I try to encode and URL like "http://www.google.com; using that filter, I receive the follow return "http%3A//www.google.com": >>> from django.template.defaultfilters import urlencode

Re: 1.2 Feature Suggestion

2009-10-25 Thread Joshua Russo
On Sun, Oct 25, 2009 at 11:48 PM, Dan wrote: > I think this is best done through a third party site. Look at the success >> of DjangoGigs. I don't know that there's a de facto place to look for apps >> yet, but I bet a winner will emerge in time. >> >> Tobias >> >> > The

Re: 1.2 Feature Suggestion

2009-10-25 Thread Dan
> > I think this is best done through a third party site. Look at the success > of DjangoGigs. I don't know that there's a de facto place to look for apps > yet, but I bet a winner will emerge in time. > > Tobias > > The problem I see with that is that we clearly *are* standardizing toward some

Re: 1.2 Feature Suggestion

2009-10-25 Thread Tobias McNulty
On Sun, Oct 25, 2009 at 7:39 PM, Dan wrote: > > I didn't know about rosetta. What would you guys think of having a doc > section about popular third party apps? I think this is best done through a third party site. Look at the success of DjangoGigs. I don't know that

Re: non-relational DB

2009-10-25 Thread Russell Keith-Magee
On Mon, Oct 26, 2009 at 12:42 AM, Thomas Wanschik wrote: > > > > On 22 Okt., 23:52, Russell Keith-Magee wrote: >> On Fri, Oct 23, 2009 at 5:09 AM, Thomas Wanschik >> >> wrote: >> >> >> When a new QuerySet is

Re: 1.2 Feature Suggestion

2009-10-25 Thread Dan
> A few things: > > a) The feature proposal phase has already passed, it went on for the > last 3 months or so. > b) There's already an external application that does this: > http://code.google.com/p/django-rosetta/ > > Alex > > I didn't know about rosetta. What would you guys think of having a

Re: non-relational DB

2009-10-25 Thread Thomas Wanschik
On 22 Okt., 23:52, Russell Keith-Magee wrote: > On Fri, Oct 23, 2009 at 5:09 AM, Thomas Wanschik > > wrote: > > >> When a new QuerySet is instantiated (e.g. by calling > >> Model.objects.all()) it asks the backend for its Query class and then

project folder with dots

2009-10-25 Thread reg_gc
Hello, django developers! On my server every project has it's own folder which name is the same as project hostname(ex. /home/testsite.com). Bug django don't allow dots in "project name". I think we can fix it. For example by avoiding starting import with project name.

Advocacy for Email-01 (email backends)

2009-10-25 Thread Russell Keith-Magee
Hi all, The v1.2 votes are in, and it appears that Email-01 (introducing an email backend API) needs some more discussion. I am in complete agreement that Django shouldn't try to become an email framework. That isn't the intention of this proposal. The intention is to fix a specific problem