Python: Model django forms/fields

I'm not feeling 100% confident about `SelfRefMixin`, but since I needed it for
both DjangoViewClass and DjangoFormClass, I wanted to avoid copy-pasting this
code around. However, I'm not so opitimistic about it that I want to add it to a
sharable utility qll file :D
This commit is contained in:
Rasmus Wriedt Larsen
2021-03-22 10:13:57 +01:00
parent 3a83ecf067
commit 8d0f6086af
3 changed files with 150 additions and 35 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* Improved modeling of `django` to recognize sources of remote user input (`RemoteFlowSource`) in Django forms (`django.forms.Form`) and fields (`django.forms.Field`) subclasses.