#29661: Generalized View decorator for Http Request attributes -------------------------------+-------------------------------------- Reporter: Sumit Goel | Owner: nobody Type: New feature | Status: closed Component: Uncategorized | Version: 2.1 Severity: Normal | Resolution: wontfix Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by Claude Paroz):
* status: new => closed * resolution: => wontfix Comment: If you have specific needs, you can freely copy the general structure of the `require_http_methods` Django decorator and adapt it to your needs. I don't see at first a general enough interest to provide other decorators. But you may develop a bit more the use cases if you think they would be of general interest. -- Ticket URL: <https://code.djangoproject.com/ticket/29661#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.7828e3a44de37f2f630ed3944df79a17%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.