NodeModelManager.exclude not implemented
tonjo opened this issue · comments
Are there no plans to implement it?
On a NodeQuerySet it is working because it belongs to the "father Django", I suppose.
Sorry if it's not a real issue.
>>> User.objects.exclude(username='bill')
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "<string>", line 2, in exclude
File "...[cut].../neo4django/decorators.py", line 54, in not_implemented_dec
raise NotImplementedError(func.__name__)
NotImplementedError: exclude
Great idea. It should be quick work.
On Oct 1, 2013 9:10 AM, "tonjo" notifications@github.com wrote:
Are there no plans to implement it?
On a NodeQuerySet it is working because it belongs to the "father Django",
I suppose.Sorry if it's not a real issue.
User.objects.exclude(username='bill')
Traceback (most recent call last):
File "", line 1, in
File "", line 2, in exclude
File "...[cut].../neo4django/decorators.py", line 54, in not_implemented_dec
raise NotImplementedError(func.name)
NotImplementedError: exclude—
Reply to this email directly or view it on GitHubhttps://github.com//issues/213
.
Anyway the quickest way without it is:
User.objects.all().exclude(username='bill')
since objects.all() is a queryset.
Is it difficult to implement? Hints?