Quantcast
Viewing latest article 7
Browse Latest Browse All 43

Comment by Chase Seibert on Why are form field __init__ methods being called on Django startup?

You are correct, but I'm still trying to understand why importing MyForm is calling the ModelChoiceField() constructor before I've actually instantiated a MyForm object. See my edit.

Viewing latest article 7
Browse Latest Browse All 43

Trending Articles