commit | 4839dec1bc3282349ef618f8721977895a443a0c | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed Feb 27 16:50:37 2019 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Mon Mar 04 17:55:20 2019 -0800 |
tree | 38482ea244773c8a7965e0e8d2ff56f84e49d33a | |
parent | 00e22d63f2c96ccec7c3f0d58158aad3c60da812 [diff] [blame] |
SEBA-457 Core xproto cleanup Change-Id: Ib99680dd81016694094a5c230afdf9dcf2cb307e
diff --git a/lib/xos-genx/xosgenx/targets/mock_classes.xtarget b/lib/xos-genx/xosgenx/targets/mock_classes.xtarget index 61c2f1f..bc56747 100644 --- a/lib/xos-genx/xosgenx/targets/mock_classes.xtarget +++ b/lib/xos-genx/xosgenx/targets/mock_classes.xtarget
@@ -225,6 +225,9 @@ model_accessor = ModelAccessor() +def get_first_site(): + return model_accessor.Site.objects.first().id + class ObjectSet(object): def __init__(self, objects): self.objects = objects