#30755: Have django.views.generic.base.View.as_view() check argument type, via
annotations.
-------------------------------+-----------------------------------------
Reporter: David Szotten | Owner: nobody
Type: New feature | Status: closed
Component: Generic views | Version: master
Severity: Normal | Resolution: needsinfo
Keywords: typing | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Comment (by Carlton Gibson):
Ah, yes. I see. Sorry for not following you. ...
More or less, for me, I'd rather see a actual solution that works for
everyone, than a hook to override. (Ultimately bitty APIs don't help
anyone...) So I'd rather see effort going into pushing forward the typing
efforts.
(In the meantime I'd point you to a mixin or such for your own needs — I
know that's not ideal but ^^^^)
--
Ticket URL: <https://code.djangoproject.com/ticket/30755#comment:9>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.046c0453797f553ea6b5bd6a325a8f2b%40djangoproject.com.