Robin Edwards

Results 25 comments of Robin Edwards

Hello you are mixing the Django ORM functionality with neomodel this won't work. transaction.atomic only applies to SQL databases setup through django. If you are using django_neomodel you could try...

I haven't tested it, so I would try. I would gladly accept a PR with a test case On 18 May 2017 17:28, "Adrián" wrote: > with transaction.atomic(...): with db.transaction:...

Super. Any chance you could contribute some docs and perhaps a test? On 26 May 2017 at 14:50, Adrián wrote: > @robinedwards I think yes, I have done > several...

Nice one. I am interested know how this works? On 10 Jun 2017 12:43, "Adrián" wrote: > Solved. > > `class *FriendRel*(StructuredRel): > since = DateTimeProperty(default=lambda: datetime.now(pytz.utc)) > met =...

Cool I can see how this would be useful. I guess there is the edge case of disconnect though when a connected node gets deleted? Also how would you handle...

Nope the connect() method executes a cypher query under the hood for speed. On 10 June 2017 at 17:12, Adrián wrote: > I think that post_save is called when save()...

Aha! I forgot: https://github.com/robinedwards/neomodel/blob/master/neomodel/relationship_manager.py#L104 I guess for delete to work we need to inflate the model before deleting it which would mean an extra query.. On 10 June 2017 at...

Agreed, as long as the edge cases are well documented. I guess it should be a specific signal 'connect' and 'disconnect' as we cant piggy back save and delete. Another...

Hey sorry for the slow response, been kept busy with work. I think its a great idea, and have no objections to it. I would gladly merge a patch providing...

I was just wondering if anyone had found a solution to this issue? I've tried a number of things, reducing the velocity via joint limits still resulted in a jerky...