#15730: RequestFactory Example Doesn't Address Class-Based Views -------------------------------+------------------------------------ Reporter: bryanveloso | Owner: nobody Type: New feature | Status: new Component: Documentation | Version: 1.3 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------------------
Comment (by travisby@…): As a new user, I would like to admit that I would have NEVER figured that out. I've been looking for two days, and finally saw that you're suppose dto use GenericViewClass.as_view()(request) The worst part is, I still don't understand what it does (but hey, it works). I think it would be very beneficial to add to the documentation. -- Ticket URL: <https://code.djangoproject.com/ticket/15730#comment:13> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.