On Fri, Dec 5, 2008 at 3:38 AM, Margie <[EMAIL PROTECTED]> wrote:
>
> Am trying to get the hang of specifying my models, so bear with me ...
>
> Suppose that I want to reprsent states and the cities that are in
> them. I think I would have a model that looks like this:
>
> class State(models.Mode
Am trying to get the hang of specifying my models, so bear with me ...
Suppose that I want to reprsent states and the cities that are in
them. I think I would have a model that looks like this:
class State(models.Model):
name = models.CharField('name', max_length=20)
class City(models.Mode
2 matches
Mail list logo