Re: per-object permission

2010-08-19 Thread Наталя Триф'як
Hello! One more good link http://groups.google.com/group/django-authority/browse_thread/thread/59ef512046ad41b3 -- netik -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To un

Re: per-object permission

2010-08-18 Thread Наталя Триф'як
Hello! I have per-object permission problem too. I am investigating django-authority now: http://packages.python.org/django-authority/. Maybe it helps you. netik -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Per-object-permission branch and Many-to-many relationship issue

2007-04-18 Thread [EMAIL PROTECTED]
This problem has been known since at least last year -- check out http://code.djangoproject.com/ticket/1796 . It has been vexing me for a couple months, but I have yet to find an elegant solution. There is a workaround in django.core.management.run_shell() that cures the problem in the manage.py

Re: Per-object-permission branch and Many-to-many relationship issue

2007-04-05 Thread Aidas Bendoraitis
Replying to myself, this is the temporary solution to the issue, I described yesterday: class Element(...) ... def get_categories(self): return Category.objects.distinct().extra( tables=['elementapp_element_categories AS eec'], where=['categoryapp_category.