cleanerversion
cleanerversion copied to clipboard
Handle the case if querytime gets assigned None
In https://github.com/swisscom/cleanerversion/blob/master/versions/models.py#L549 the docstring says that a querytime can be assigned None. If this is done, however, the DB query fails. So, instead, assign a Querytime instance with 'active' being set to False.