Re: Ticket disposal

2010-03-02 Thread Peter Sagerson
/pypi/django-auth-ldap/ [2] http://code.djangoproject.com/ticket/2507 On Mar 2, 2010, at 2:53 PM, Joseph Kocherhans wrote: > > On Mar 2, 2010, at 4:28 PM, Peter Sagerson wrote: > >> Hello, >> >> I submitted a patch[1] for 1.2 which was not accepted and almost cert

Ticket disposal

2010-03-02 Thread Peter Sagerson
Hello, I submitted a patch[1] for 1.2 which was not accepted and almost certainly won't be in the future. This is perfectly fine, but it would be nice to get the bug closed wontfix so we have some closure (people are still adding themselves to the cc field). I just moved it to the 1.2 milestone

Re: possible bug in count() in many_to_many relations?

2010-01-24 Thread Peter Sagerson
I don't think this is a bug; it's just telling you that you can't count the photos until the gallery is in the database. Try: x = Gallery.objects.create() x.photo_count() On Jan 24, 2010, at 3:14 PM, x13 wrote: > (sorry for my English mistakes) > Hello all, I have a problem with the count() fu

LDAP authentication backend

2009-10-13 Thread Peter Sagerson
Hello all, I'm the author of Contrib-09/#11526[1], an LDAP authentication backend. I haven't posted about it before and I saw some questions in the voting sheet, so I thought I'd try to address them here. My motivation for writing the backend is simply that I'm managing a server with a var

Re: How do you handle cascading deletes in your production apps?

2008-12-14 Thread Peter Sagerson
On Dec 13, 2008, at 12:13 PM, Luke Plant wrote: > > On Friday 12 December 2008 01:06:18 Simon Litchfield wrote: >> +1. Definitely need some kind of cascade=False option somewhere. >> I'd argue it should be the default. > > -1 on it being default. Just because a foreign key may be nullable > does