Instead of including every player in the Game model, I would add a
field to the Player model to assign which team a player belongs to:
class Team(models.Model):
name = models.CharField(max_length=60)
class Player(models.Model):
surname = models.CharField(max_length=60)
lastname =
I haven't tried this yet, but it might be what you're looking for:
http://weblog.bignerdranch.com/?p=49
/curt
On Dec 16 2008, 11:43 am, "bax...@gretschpages.com"
<mail.bax...@gmail.com> wrote:
> Have I lost my mind, or did I see a django coda plugin recently? Can't
&g
I've completed the install of python and django and I'm trying to run
django-admin to start the first project in the tutorial. When I enter
the command:
django-admin.py startproject mysite
I get the following response:
Type 'django-admin.py help' for usage.
What am I doing wrong?
Thanks...
3 matches
Mail list logo