models.py
18.2 KB
-
vm: refactor old code and add some new bits · 43e810d2
* reorder classes * make context creator method a module level function * class method for creating an instance from a template * fix primary host selection code * use timezone.now() instead of datetime.now() to get timezone aware dates * remove obsolete methods and implementations (leaving TODOs)
Dudás Ádám committed