4 ms·
In Django you might have a nullable TimeField and check if it's set via "if obj.time_field".
by ojii 13y ago
In Django you might have a nullable TimeField and check if it's set via "if obj.time_field".
- calpaterson 13y agoI always write "if x is None", trying to be explicit.