Re: Tutorial updates for magic removal

2006-03-16 Thread Adrian Holovaty
On 3/3/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > http://code.djangoproject.com/ticket/1464 > > I finished tutorial01.txt update, but didn't get to the others. Very > sorry. If not completed when I get back in town (3/15) I'll pick up > where I left off. Thanks very much, Jeremy! I'm working

Re: Descriptor syntax and performance

2006-03-16 Thread Max Battcher
Correct me if I'm wrong (I don't currently have a system to test this with), but you can already do this caching yourself (if you need it) by: >>> c = Camp.objects.all()[1] >>> myleaders = c.leaders.all() Further iterations of myleaders should use the cached queryset. Obviously, this doesn't he

Re: Alternate template file extensions

2006-03-16 Thread SmileyChris
Oops sorry, I meant to include the ticket #: http://code.djangoproject.com/ticket/500 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers

Alternate template file extensions

2006-03-16 Thread SmileyChris
This has been discussed earlier on the list, but a simple solution was sitting there waiting to be implemented so I just put a patch together. Does anyone see any problems with it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Descriptor syntax and performance

2006-03-16 Thread Luke Plant
Hi all, The current descriptor implementation is inefficient for related object lookups. For example, using my 'Camp' model, which has a many-to-many 'leaders' relationship: >>> c = Camp.objects.all()[1] >>> len(connection.queries) 1 >>> c.leaders.all() [Jason & Ruth Phillips] >>> len(connect

Re: proposal: endif, endfor etc assume whatever follows in tag is comment

2006-03-16 Thread Matthew Flanagan
On 3/16/06, hugo <[EMAIL PROTECTED]> wrote: > > >It's not clear to me that inline comments were outright rejected here. > >Perhaps I missed some other discussion but to my biased eye the > >general concensus was favourable. > > I remember several situations where Adrian and Jacob rejected an inlin

Best Link for Perfect Career

2006-03-16 Thread Smith
Hello and Hi Today, I tell you another Best Website for finding the best job. Please check this link and enjoy your dream job.   http://www33.websamba.com/freecareer/index.asp   Special thing about this website is, they are presenting direct links to jobs. They are using only Direct Employe

Re: proposal: endif, endfor etc assume whatever follows in tag is comment

2006-03-16 Thread hugo
>It's not clear to me that inline comments were outright rejected here. >Perhaps I missed some other discussion but to my biased eye the >general concensus was favourable. I remember several situations where Adrian and Jacob rejected an inline comment syntax (IRC, tickets, group). I found one dir

New validation framework

2006-03-16 Thread Thomas
Hi, I was wondering, with the new validation framework stuff, with validators embedded into the models themselves, how do you use that model with a form? Are there still AddManipulator and ChangeManipulator available, just calling into validators in the models themselves? Cheers, Thomas --~--~