Support class-based views #162
Comments
|
cc @davidoc |
|
Hi @KevinHock , |
|
Hi @nightwarrior-xxx, nice to meet you. Let me know if this helps, it's a rough idea on how to do this: Read the framework part of the docs
elif args.adaptor and args.adaptor.lower().startswith('c'):
framework_route_criteria = is_class_based_view_functionSee https://github.com/python-security/pyt/pull/75/files for something similar The part I will leave up to you, unless you would like me to try to figure it out:
Extra/Optional, check the class being inherited from ends in View. Do this in Use my Update the framework part of the docs |
|
It may be possible to look at the class hierarchy of a Then if the class does not have I'm not very familiar with pyt so I'm not sure if this idea fits its current design. |


I wrote some of the code to do this in a branch https://github.com/python-security/pyt/compare/class_based_views, but since I'm working on other things and this feature seems cool and important I'm making this issue馃憤
Let me know if you would like any help in implementing.
The text was updated successfully, but these errors were encountered: