Re: django_settings_module not being set by manage.py

2008-05-23 Thread David Robinson
Karen Tracey wrote: > So what's changed, I'm guessing, to introduce this problem is you added this > import to to your project's __init__.py file. Karen, Thanks - while I was trying to get my head wrapped around newforms-admin, I put some stuff in __init__.py and then forgot to take it out.

Re: django_settings_module not being set by manage.py

2008-05-23 Thread David Robinson
Karen Tracey wrote: > manage.py doesn't set the environment variable, it just imports settings > assuming it is in the current directory. Since you don't get an error > message that that failed, presumably it worked so the question is why is > some subsequent code trying to use the environment

django_settings_module not being set by manage.py

2008-05-23 Thread David Robinson
I have run into a problem that I don't understand - when I try to run "shell manage.py shell" I just started getting an error about the DJANGO_SETTINGS_MODULE environment variable not being defined. I found the information I needed to work around the problem (on this list - thank you, Evert

newforms-admin and intermediary tables for m2m relationships

2008-05-19 Thread David Robinson
We are using our own intermediary table for a many-to-many relationship so that we can store additional information about the relationship itself, and we are just embarking on a thorough overhaul of this app's code. In the existing project, we heavily modified change-list and change-form

Re: conditional block tag

2007-05-23 Thread David Robinson
I'm probably missing something about your question, and please excuse me if that's the case, but wouldn't you be able to do this: {% if header %} {% block header %}Page Heading{% endblock %} {% endif %} Dave Trey wrote: > I have an interesting case that I would like to get some input

Re: Configurable LDAP authentication

2006-08-15 Thread David Robinson
Guillaume Pratte wrote: > I took the code from http://www.carthage.edu/webdev/?p=12, adapted it > and generalized it so you can specify LDAP server and other > configuration items in settings.py. ... > There is no explicit copyright in the code found at > http://www.carthage.edu/webdev/?p=12, >

Re: drag & drop for admin-interface

2006-08-02 Thread David Robinson
patrickk wrote: > see http://demo.script.aculo.us/ajax/sortable_elements >> On Wed, 2006-08-02 at 19:50 +0200, patrickk wrote: >>> I´m just doing some dojo DnD-stuff for the django admin-interface. >>> ... >>> question: would you prefer instant saving? The thing that I wasn't clear about was

Re: Specify order of content items

2006-07-08 Thread David Robinson
[EMAIL PROTECTED] wrote: > Interesting! Nice to see an example of how to integrate dojo and > django, there aren't many... > > Are you building a custom administration interface for Sputnik which > allows for the reordering of news items by use of this technique? > Did you try to implement this

Re: Specify order of content items

2006-07-07 Thread David Robinson
drakepad wrote: > Thanks for clarifying the issue Arthur. Drag and drop support would be > fantastic indeed... We've got the same sort of need to specify the order of news items. And we have done it using Dojo's drag and drop. I'm not the one who did it, but the guy who did get it to work

Re: confused again: a "home page" can't be some special case

2006-06-06 Thread David Robinson
Douglas, James, Wilson, Rudolph: Thanks - that clears things up. It's quite encouraging to see that we were pretty much headed in a viable direction. Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

sorry for the stupid noob question - kwarg?

2006-06-04 Thread David Robinson
Really, I've tried looking this one up myself (you wouldn't believe how many questions I *haven't* had to ask... (thanks for well-written docs everyone)). It seems almost obvious, but I am proving to be just dense enough to not get what is this "kwarg". Dave

Re: remedial django - what IS a "site" exactly?

2006-05-23 Thread David Robinson
Many thanks to James and Adrian for explaining sites. I'm expecting to have several more questions over the coming weeks as we get further into things, and it's nice to know that the Django community is so responsive. Dave --~--~-~--~~~---~--~~ You received

remedial django - what IS a "site" exactly?

2006-05-20 Thread David Robinson
e: Sat, 20 May 2006 18:59:33 -0500 From: David Robinson <[EMAIL PROTECTED]> User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en Mime-Version: 1.0 Content-Type: text/plain To: django-users <django-users@googlegroups.com> Subject: remedial django - w