Thank you so much Malcolm,
I knew I was missing something elementary. Thanks for pointing it
out.
Cheers,
Wendy
On Aug 10, 8:58 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-08-10 at 20:43 -0700, zignorp wrote:
> > Hello,
> > I just added a model to models.py,
>
> > class Topic (models.Model):
On Mon, 2009-08-10 at 20:43 -0700, zignorp wrote:
> Hello,
> I just added a model to models.py,
>
> class Topic (models.Model):
> topic = models.CharField(max_length=180, blank=True, null=True)
>
> def __unicode__(self):
> return self.topic
>
> I can see it in the mode
Hello,
I just added a model to models.py,
class Topic (models.Model):
topic = models.CharField(max_length=180, blank=True, null=True)
def __unicode__(self):
return self.topic
I can see it in the model that's calling it:
class Film(models.Model):
topic = m
3 matches
Mail list logo