On 10/4/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > On 10/4/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > On Thu, 2007-10-04 at 15:15 -0500, Jeremy Dunck wrote: > > [...] > > > Is there any interest in a patch that modifies Django's built-in > > > decorators to use functools.wraps in order to preserve things like > > > view function doc strings? > > > > Definitely interest from me. It's a bit of a bug at the moment that we > > lose docstrings when we decorate things. Particular admin-docs loses > > stuff.
So, I've found a couple decorators I never knew existed. :) Is there a reason django.views.http.require_http_method and friends aren't documented? I can add docs and tests... --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---