>
> The current admin UI isn't capable of this. The many-to-many has to be
> either in one or the other.
thanks for the confirmation, saves me much effort. i'll direct my efforts
elsewhere for now, however this does sound like a feature request, i'll make
a ticket once i've thought it through a
On 10/11/05, Ranting Hippy <[EMAIL PROTECTED]> wrote:
> to say again I want the admin user interface to present widgets for *both*
> sides of the many2many relationship, not just the one that has the
> ManyToManyField declared for it.
>
> i have no idea if the current admin UI is capable of this;
thanks for the reply, but i'm after something more
if you add the following to both classes in your code below
--
class META:
admin = meta.Admin()
--
the admin screens provide an auto-generated use
Hi,
try this code :
from django.core import meta
class Article(meta.Model):
headline = meta.CharField(maxlength=100)
def __repr__(self):
return self.headline
class Publication(meta.Model):
title
how do i get both sides of a many2many relation to appear in the admin
screens?
using the model in this doc as an example:-
http://www.djangoproject.com/documentation/models/many_to_many/
out of the box the admin screen for an Article will contain a field for the
publications it belongs to -
5 matches
Mail list logo