from django import forms def get_StatRequestForm customer_id class Sta

1
2
3
4
5
6
7
8
from django import forms
def get_StatRequestForm(customer_id):
class StatRequestForm(forms.Form):
value = forms.CharField()
return StatRequestForm
print get_StatRequestForm(1)()