Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Lutz Steinborn
es for good reasons. I'd be severely pissed if my > amazon wishlist went away when I deleted cookies. but was is the solution if the user is not logged in ? At this point your only chance is a session bound cookie or I'm wrong ? Kindly regards Lutz Steinborn --~--~-~--~---

Re: memcached setup

2007-05-29 Thread Lutz Steinborn
On Tue, 29 May 2007 06:49:02 - omat <[EMAIL PROTECTED]> wrote: > > But when I put CACHE_BACKEND = 'memcached://127.0.0.1:11211/' in the > settings.py I get: > > InvalidCacheBackendError: Memcached cache backend requires either > 'memcached' or 'cmemcached' libraries Hi, just an idea: diffe

ManyToMany Relation and the Admin interface

2006-10-18 Thread Lutz Steinborn
Hello, I'm trying to figure out how a ManyToMany Relation work. My Example: class Category(models.Model): class Admin: pass class Meta: ordering = ('sort', 'name') name = models.CharField(maxlength=250, default='') description =

Re: ManyToMany Relation and the Admin interface

2006-10-18 Thread Lutz Steinborn
Hello, On Wed, 18 Oct 2006 16:48:51 +0200 "Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote: > > By default, all fields are obligatory. You have to set > categories = models.ManyToManyField('self', blank=True) > to escape from that problem. now its working. Many thanks ! Kindly regards Lutz http: