Re: LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
On Mon, Dec 17, 2012 at 1:57 PM, Kevin Cole wrote: > And here I'll display my ignorance about threading. I've done nothing > specific to ask for threading. I wouldn't know how to thread even if I > had a sewing machine. ;-) I'm using apache prefork with mod-wsgi.

Re: LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
On Mon, Dec 17, 2012 at 1:42 PM, Bill Freeman wrote: > Perhaps in the thread in which autoname is run, login has not yet been run. And here I'll display my ignorance about threading. I've done nothing specific to ask for threading. I wouldn't know how to thread even if I had a sewing machine. ;

LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
Also asked on StackOverflow http://stackoverflow.com/questions/13918785/django-ldap-search-results-disappear Why in the code below, does the global *direktorie* return the correct data in the *login()* debug template, yet when I try to access the same variable from *autoname()* it says the list

Re: Can't add groups in the admin interface

2012-05-25 Thread Kevin Cole
P.S. Adding permissions to each user individually works (and those permissions are not ignored), and the database validates correctly according to "django-admin validate". -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Can't add groups in the admin interface

2012-05-25 Thread Kevin Cole
Hi, I'm using Django 1.3 with the "stock" admin interface. No customizations. In the Site Administration, I can add new users. However, if I try to add a group I get the Add Group screen, with the fields for name and selection of permissions, and the three save buttons at the bottom ("Save and

Django 1.3 online documentation ... error? ... quibble?

2012-05-18 Thread Kevin Cole
Hi, I'm once again attacking the Django with vigor. And THIS time, I've actually got some forward momentum and am approximating progress! Yay! ;-) In reading "Creating forms from models" (https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/) I note the mention of a model field called

Re: Trying to wrap my head around nested regroups or other ways to handle ordered ForeignKey stuff

2009-04-15 Thread Kevin Cole
On Apr 14, 6:32 pm, Daniel Roseman wrote: > On Apr 14, 6:11 pm, Kevin Cole wrote: > > Hi, > > > First let me say I've looked at documentation, but feel a bit dyslexic > > when it comes to this stuff. > > > The situation: I have three tables: a servi

Re: Trying to wrap my head around nested regroups or other ways to handle ordered ForeignKey stuff

2009-04-14 Thread Kevin Cole
And... Never mind. Not sure how I missed it before, but it appears select_related() gets me what I want. I think... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

Trying to wrap my head around nested regroups or other ways to handle ordered ForeignKey stuff

2009-04-14 Thread Kevin Cole
Hi, First let me say I've looked at documentation, but feel a bit dyslexic when it comes to this stuff. The situation: I have three tables: a service provider table with city, state abbreviation and country abbreviation (among other other info), a states table with state names, abbreviations, an

Newbie Question: Is "ordering" a list or a tuple or both / either?

2008-04-14 Thread Kevin Cole
Hi, I'm following along in the book, and noticed that when "ordering" is used in the Meta class (Chapter 5, page 77) it is a list. However, later, when used in the Admin class (Chapter 6, page 91), it's a tuple. Testing it out, it seems to work okay either way, but I wondered if there was a goo