Re: Help me understand the django.request logger
On Fri, Sep 23, 2011 at 5:56 AM, Roy Smith <roy@panix.com> wrote:
> Ugh, I got it figured out. I totally misunderstood what the docs were
> saying. I was thinking that somehow the django.request logger
> magically found the request object and stuck it into the context.
> That's not what it was saying at all. All the quote from the docs
> really means is that all the places inside of django where
> django.request is used, the request is explicitly passed in as part of
> extra.
>
> Sigh.
Hi Roy,
I'm glad you were able to work this out for yourself. If you want to
be really helpful here, you could turn what you've learned into an
improvement in the docs. Old-timers (like myself) often forget what is
obvious and what is assumed knowledge, but since we are the ones
writing the docs, we sometimes forget to include a pertinent detail.
If you're new to a framework (or new to a particular area of a
framework) you're often the best person to provide feedback on
problems in the docs.
So - if you want to be really helpful, open a ticket [1] describing
the aspect of the docs that was confusing, either by ommision or as a
result of phrasing. Suggest some improved phrasing, or indicate the
detail that is missing. If you're really keen, try working up a patch
that implements your changes.
[1] https://code.djangoproject.com/newticket
Yours,
Russ Magee %-)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home