That was the solution. I removed the symmetrical=False and also the
unique=True and now it works.
many thanks for your help, Karen!
On 26 Mrz., 22:04, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I try to add some dat
On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I try to add some data through the Admin interface but I get an SQL
> Error when I try to add a ManyToMany Relation.
>
> The model:
> class Artist(models.Model):
>name = models.CharField(max_length=200, blank=True)
>
On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I try to add some data through the Admin interface but I get an SQL
> Error when I try to add a ManyToMany Relation.
>
> The model:
> class Artist(models.Model):
>name = models.CharField(max_length=200, blank=True)
>
some additional information: the SQL statement out of the postgres
logfile
SELECT
"users_artist"."id","users_artist"."name","users_artist"."abstract","users_artist"."logo","users_artist"."image","users_artist"."myspace_link","users_artist"."youtube_link","users_artist"."home_dir","users_artist"."
Sorry, did forget to mention that I am using postgresql8.2 on Mac OS X
Leopard. The web server is running through the ./manage.py script.
cheers
On 25 Mrz., 14:08, tom <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I try to add some data through the Admin interface but I get an SQL
> Error when I try to a
Hi,
I try to add some data through the Admin interface but I get an SQL
Error when I try to add a ManyToMany Relation.
The model:
class Artist(models.Model):
name = models.CharField(max_length=200, blank=True)
abstract = models.TextField(blank=True, help_text=_('Give a short
introduction
6 matches
Mail list logo