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 objec
s all foreign keys edited 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
ql_exceptions.OperationalError: (1093, "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 i
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"
I'm getting an error when I try to m
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
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 ma
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 us
> Did you read the line:
>
> Inline editing can be customised. rather than using
> edit_inline=meta.TABULAR or meta.SOURCE, you can define a custom inline
> editing mode. This is done by subclassing BoundRelatedObject?, and using
> that class. eg edit_inline=HorizontalScroller?.
>
> You can look a
> 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 a
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 o
Hi all,
I'm making a custom view for the admin interface for one of my modules.
I like all the stuff on the top of the page, but once I get to the
edit_inline related objects, I wan't to change the way they're laid out
to make them more compact and I've added special checkboxes that can
select/unse
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 w
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
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
On 1/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 1/4/06, Colleen Owens <[EMAIL PROTECTED]> wrote:> I'm having trouble figuring out how to customize the appearance of a> foreign key that's edited inline in the admin interface. For example, if I
> wanted to c
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 <[EMA
Hi,
I'm having trouble figuring out how to customize the appearance of a
foreign key that's edited inline in the admin interface. For example,
if I wanted to change how the poll choices from the tutorial are
displayed, by suppressing the number of votes, or changing the order in
which the votes and
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]>
I'm a Django newbie. This follows up on a question I asked before and a very helpful answer to on this list.
So I have a list of dates and for each date I have a list of link
objects I want to display. I'm trying to figure out how to best pass
this data from my view to the template.
I tried this
19 matches
Mail list logo