On Wed, Jun 8, 2011 at 10:11 AM, Thomas Weholt wrote:
> Say I got a model like so:
>
> class Article(models.Model):
>title = models.CharField(max_length=100)
>text = models.TextField()
>category = models.CharField(max_length=20)
>author = models.CharField(max_length=50)
>
> Article
Say I got a model like so:
class Article(models.Model):
title = models.CharField(max_length=100)
text = models.TextField()
category = models.CharField(max_length=20)
author = models.CharField(max_length=50)
Article.objects.create(title="Foo", text="Story about foo",
category="adve
2 matches
Mail list logo