IRC log of #schooltool for Thursday, 2013-12-19

*** replaceafill has quit IRC00:39
*** menesis has quit IRC01:47
*** th1a has quit IRC02:35
*** yvl has joined #schooltool07:21
*** menesis has joined #schooltool13:01
*** menesis has quit IRC14:20
*** menesis has joined #schooltool15:31
*** th1a has joined #schooltool15:34
*** replaceafill has joined #schooltool16:00
yvlhey replaceafill16:17
yvlpushed a fix to addTeacher, etc.16:17
yvlwe'll have to add relationships in .add method I'm afraid16:18
replaceafillyvl, ah ok16:24
replaceafillweird bug?16:24
yvlno16:33
yvlrelationships are now cataloged16:33
yvlthat means they need to have key references16:33
replaceafillah16:33
yvlthat means they need _p_oid16:33
replaceafillso the objects need to be attached to the db before16:33
yvlyes16:34
replaceafillgot it16:34
yvlwe can attach them manually16:34
replaceafillgood to know :D16:34
yvlfrom ZODB.interfaces import IConnection16:34
yvlfrom zope.component.hooks import getSite16:34
yvlIConnection(getSite()).add(obj)16:34
yvlit's not strictly correct16:34
yvland if you don't assign __parent__ to the obj later16:35
yvlit will just sit in the db16:35
yvlall alone16:35
replaceafill"old" relationships are also cataloged? i mean, the non-temporal ones?16:35
replaceafillor there's no non-temporal anymore?16:35
yvlyes16:35
replaceafillah ok16:36
yvlall relationships are cataloged16:36
yvlbut they can be simple or temporal16:36
replaceafillright16:36
yvlor something else even16:36
replaceafillcourses to sections is still simple16:36
yvlsee TemporalURI...16:36
replaceafillyesterday, i forgot to comment on my "discovery" of request helpers :D16:37
replaceafilli noticed you used self.request.util.today somewhere16:37
replaceafilland i was like ?!?!?!16:37
replaceafillthen i found about the helpers16:38
yvl:D16:38
yvlsorry, forgot to tell about them :S16:38
replaceafill3 years now and i still find nice pieces of functionality, unknown for me :P16:38
yvlusing date util just annoyed me too much16:38
replaceafilldefinitely16:38
yvlthat one was added some weeks ago16:39
yvlcould have done that years ago :|16:39
th1areplaceafill:  I asked Steven to resend his feature spec to make sure we're all talking about the same thing.17:15
th1aThen we'll go over it.17:15
replaceafillth1a, kk17:15
replaceafillsure17:15
*** th1a has quit IRC19:38
*** menesis has quit IRC21:20
*** menesis has joined #schooltool23:13
*** yvl has quit IRC23:17
*** replaceafill has quit IRC23:52

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!