juhu, it works...
I have to admit after reading my initial post again I could habe been
more clear.
So here my example & test case which now works with Umapathy S
suggestion.
I created a model:
class Diameter(models.Model):
thickener_diameter = models.SmallIntegerField()
when I add a few
I usually do
def __unicode__(self):
return "%d" % self.question_number
On Fri, Jan 9, 2009 at 2:42 PM, Eric Abrahamsen wrote:
>
>
> On Jan 9, 2009, at 10:19 PM, _Sebastian_ wrote:
>
> >
> > Hi all,
> >
> > I've been following the tutorial
> http://docs.djangoproject.com/en/dev/intro/tut
On Jan 9, 2009, at 10:19 PM, _Sebastian_ wrote:
>
> Hi all,
>
> I've been following the tutorial
> http://docs.djangoproject.com/en/dev/intro/tutorial01/#playing-with-the-api
> and working on a own test-project as well.
>
> so I tried to adapt from
>
> class Poll(models.Model):
>question =
Hi all,
I've been following the tutorial
http://docs.djangoproject.com/en/dev/intro/tutorial01/#playing-with-the-api
and working on a own test-project as well.
so I tried to adapt from
class Poll(models.Model):
question = models.CharField('question',max_length=200)
def __unicode__(sel
4 matches
Mail list logo