Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RelationshipInstance.get_or_create() #194

Open
tonjo opened this issue Jun 18, 2013 · 3 comments
Open

RelationshipInstance.get_or_create() #194

tonjo opened this issue Jun 18, 2013 · 3 comments

Comments

@tonjo
Copy link
Contributor

tonjo commented Jun 18, 2013

Creating a related model with a get_or_create() on relationships.
Example (by Matt himself):

pete = patrick.friends.get_or_create(name='Pete')

Create a new person "Pete" and connect to patrick.

@tonjo
Copy link
Contributor Author

tonjo commented Jun 18, 2013

I should have specified, create a new Person or find one if exists.

@mhluongo
Copy link
Member

Thanks for raising this @tonjo, I'm going to try to get it in this coming release.

@mhluongo
Copy link
Member

I've started a campaign to fund the completion of this release, including this issue and Django 1.5+ support. Check it out at https://www.bountysource.com/fundraisers/423-neo4django-0-1-9 if you're interested.

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

No branches or pull requests

2 participants