order_with_respect_to and edit_inline in MR

2006-06-06 Thread Colleen Owens
Hi, I switched my code over to M-R this past weekend and was surprised that it went pretty smoothly. There are a couple things in my models that aren't working anymore though. The first is order_with_respect_to. I have an inline edited object that I want to order with respect to its related

Re: MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin

2006-03-02 Thread Colleen Owens
inline in my models. Thanks for any help anyone can provide. I'm supposed to have this installed to show the prototype to a client on Monday and this is kind of a show stopper. Colleen Colleen Owens wrote: > I'm not sure what query the admin interface is sending exactly, but I > was able to rep

Re: MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin

2006-03-02 Thread Colleen Owens
93, "You can't specify target table 'polls_choices' for update in FROM clause") >>> Julio Nobrega wrote: > Can you paste the query here? I think the problem is an unsupported > feature by Mysql... Do you have another Mysql install to test? > > On 3/2/06, Colleen Owens

Re: MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin

2006-03-01 Thread Colleen Owens
I forgot to say this is with current Django trunk. -- Forwarded message -- From: Colleen Owens Date: Thu, 02 Mar 2006 03:34:08 - Subject: MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin To: "Django users" <django-users@googlegroups.com> I'm

MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin

2006-03-01 Thread Colleen Owens
I'm getting an error when I try to modify a foreign key edited inline in the admin interface using MySQL + FastCGI on a Dreamhost account. I get the same type of error when I try to modify a Poll object (with inline Choices) from the tutorial, so I know it's not my model that's the problem. I've

Re: custom admin view for edit_inline object

2006-02-11 Thread Colleen Owens
On 11 Feb, 2006, at 06.55, Robert Wittams wrote: > I do not know how to make it any clearer than that. MyBoundRelatedObject > is a class. > > You do *not* need to make up a new constant like TABULAR. It is purely a > mechanism that allows people to specify the tabular view or whatever > without

Re: custom admin view for edit_inline object

2006-02-09 Thread Colleen Owens
On 09 Feb, 2006, at 13.21, Robert Wittams wrote: > > The overrides stuff is just to allow TABULAR and STACKED to continue to > work, without meaning that the core django has a dependency on the admin > code. > > As you are defining your own class, that shouldn't matter for you, you > can just

Re: custom admin view for edit_inline object

2006-02-09 Thread Colleen Owens
> There is a simple way to create special admin templates for one object. > See > http://code.djangoproject.com/wiki/NewAdminChanges#Adminconvertedtoseparatetemplates > > HTH, > Edgars Thanks for the link, I hadn't seen this before. I basically derived the same solution on my own, except that I

Re: custom admin view for edit_inline object

2006-02-08 Thread Colleen Owens
So I'm replying to my own message here, but I want to tell you how I did this in case a) someone wants to show me a better way b) it could be useful to someone Again, what I'm trying to do is customize the way inline-edited objects are displayed for one of my applications (without affecting any

Re: application level settings

2006-01-12 Thread Colleen Owens
On 1/11/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: On 1/11/06, Colleen Owens <[EMAIL PROTECTED]> wrote:>  My latest question - I want to have some settings that apply to an> application (not the objects within that application's model but to the > application as a whole)

scheduling capabilities?

2006-01-11 Thread Colleen Owens
And another question quick on the heels of the last one...Does Django have any built-in scheduling capabilities, like "run X every 15 minutes"? Or should I stick with Twisted for that? Thanks again. Colleen

application level settings

2006-01-11 Thread Colleen Owens
Hi. First I want to thank everyone for answering my really basic questions. The responses I've gotten here have been extremely helpful. I'm starting to get the hang of Django a little bit and I love it so far. My latest question - I want to have some settings that apply to an application (not the

Fwd: customizing appearance of foreign key edited inline

2006-01-05 Thread Colleen Owens
I'm resending this question because I'm still having trouble figuring this out. I'm interested in customizing how a inline-edited foreign key appears in the admin interface. Is there some way to do this? Thanks.-- Forwarded message --From: Colleen Owens <[EMAIL PROTECTED]&g

Re: help passing data from view to template

2005-12-21 Thread Colleen Owens
Okay, yeah this was a dumb question, foolishly asked before I got through part 4 of the tutorial. I see now that calling get_link_list from within my template will do what I need. I didn't realize that get_link_list would preserve ordering.On 12/21/05, Colleen Owens <[EMAIL PROTECTED]> wrot