Django crash when accessing User instance containing ManyToMany field only through request.user

2009-10-31 Thread ewoudenberg
Hi, I'm adding row level permissions to the admin using this guideline: http://www.djangosnippets.org/snippets/1054/. Everything works fine when I add a simple ForeignKey to the User object and use that to identify records 'owned' by the user. e.g.: from django.contrib.auth.models import User

Re: Shopping carts with Django?

2006-11-11 Thread ewoudenberg
Hi Folks, I took Max's helpful example and filled in the rest. I've made a Google Code project located here: http://code.google.com/p/django-cart/ There is zero documentation other than the project home title sheet. As Max says, writing the code is a small part of what it takes to make a serious