logging

2006-05-19 Thread Ian Holsman
I'm just thinking out loud here, but I was wondering what the others developers thought of having a event/hook which would capture the URL request just after it has been resolved. (and possibly just after it is executed) so the input of the function would be something like request, view_func

Re: [Changeset] r2931 - django/trunk/docs

2006-05-19 Thread Malcolm Tredinnick
Hey Luke, On Fri, 2006-05-19 at 13:15 +0100, Luke Plant wrote: > Malcolm, > > I noticed this addition to the docs in django-updates: > > + Note that QuerySets are not callable, so > + if you want to pass in a QuerySet in ``extra_context`` and have it > + evaluated at render time, you need to

Re: [Changeset] r2931 - django/trunk/docs

2006-05-19 Thread Luke Plant
Malcolm, I noticed this addition to the docs in django-updates: + Note that QuerySets are not callable, so + if you want to pass in a QuerySet in ``extra_context`` and have it + evaluated at render time, you need to wrap it in a function (that + returns the QuerySet). I think this confuses

Re: reverse-lookups, strange behaviour

2006-05-19 Thread Gábor Farkas
Jorge Gajon wrote: >> from proj1.app1.models import User >> User.objects.get(poll__question__exact='x') > >> from app1.models import User >> User.objects.get(poll__question__exact='x') > > > I don't see any difference except for the 'from' statement. well, that's it :) > What 'reverse lookup'