Re: Models for a hockey database

2009-10-07 Thread Curt
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 =

Re: Coda plugin

2009-01-15 Thread Curt
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

django-admin error

2008-04-30 Thread curt
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...