Re: Tutorial, def __unicode__ not working

2008-06-03 Thread circularfunc
problem was i ahd to restart the shell, didnt work just reimporting. On 3 Juni, 22:18, Sebastian Bauer <[EMAIL PROTECTED]> wrote: > try: > def __str__(self): > return self.question > > [EMAIL PROTECTED] pisze: > > >http://www.djangoproject.com/documentation/tutorial01/ > > > added these: > >

Re: Tutorial, def __unicode__ not working

2008-06-03 Thread Sebastian Bauer
try: def __str__(self): return self.question [EMAIL PROTECTED] pisze: > http://www.djangoproject.com/documentation/tutorial01/ > > added these: > class Poll(models.Model): > # ... > def __unicode__(self): > return self.question > > class Choice(models.Model): > # ... >

Re: Tutorial, def __unicode__ not working

2008-06-03 Thread circularfunc
Adjango\utils Adjango\utils\termcolors.py Adjango\utils\_decimal.py Adjango\utils\__init__.py Adjango\utils\autoreload.py Adjango\utils\dates.py Adjango\utils\stopwords.py Adjango\utils\html.py Adjango\utils\safestring.py Adjango\utils\translation Adjang

Tutorial, def __unicode__ not working

2008-06-03 Thread circularfunc
http://www.djangoproject.com/documentation/tutorial01/ added these: class Poll(models.Model): # ... def __unicode__(self): return self.question class Choice(models.Model): # ... def __unicode__(self): return self.choice using the latest django-version fetched by