Quantcast
Channel: Why does NullBooleanField in form give a dropdown when rendered in template? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Why does NullBooleanField in form give a dropdown when rendered in template?

0
0

When I change the form field to CharField, there is no dropdown in the template, BooleanField does not have one either. Why does NullBooleanField get a dropdown(in forms)? What if I dont want a drop down? Is this in built in generic view?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images