#21595: Automatically call as_view() when urlpatterns encounter a CBV. -------------------------------------+------------------------------------- Reporter: loic84 | Owner: loic84 Type: | Status: assigned Cleanup/optimization | Version: master Component: Core (URLs) | Resolution: Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by timo): @loic84 - do you want to write a quick email to the mailing list and try to get a consensus on this? I tend to think -0 as well because "There should be one-- and preferably only one --obvious way to do it" and if you are using `as_view()` with parameters on some views, allowing things to be mixed isn't ideal. I'm sympathetic of the problem though. -- Ticket URL: <https://code.djangoproject.com/ticket/21595#comment:5> 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/064.e6b1ac8b8eb84b2f13155a5b1ecf7bee%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.