1 hour ago, I have installed the svn-version from django (rev.4809)
and now, it works brilliant (for the moment :o)).
The constraints was now creates with a new nameconstruct.
i.E.: team_id_refs_team_id_6e4cb777
The referenced tabel was now named without the tablename. I assume
that's a hash-val
OK, here are a piece of backgrounds:
OS: Windows XP
The version of Django is 0.95.1 (stable version; not svn), the version
of PostgreSQL is 8.2. I use psycopg2-2.0.6b1.win32-py2.5-pg8.2.1-
release for the databasebinding.
The error comes from Django:
Following steps (the applicationname is tm):
Hi everbody,
I'm trying to create tables with help of models (use postgreSQL;
engin: postgresql_psycopg2).
My model (part):
...
class Team(models.Model):
team_id = models.IntegerField(primary_key=True)
name= models.CharField(maxlength=100)
class Player(models.Model):
player_id = model
3 matches
Mail list logo