Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Handle the case if querytime gets assigned None #117

Open
maennel opened this issue Jul 22, 2016 · 0 comments
Open

Handle the case if querytime gets assigned None #117

maennel opened this issue Jul 22, 2016 · 0 comments

Comments

@maennel
Copy link
Contributor

maennel commented Jul 22, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant