Hi Denis,

have you put self on your unicode function?
its __unicode__(self) not __unicode()__

regards
djibon

On 10/11/09, Denis Bahati <djma...@gmail.com> wrote:
> Thanx a lot for the information, but i managed to get it working before this
> information.
> I have another problem that the __unicode()__ is not working. It just gives
> me Poll object instead of the name of data from the database, i put the
> function at the beginning of the line, but if i put a tab to indent so that
> it is read as the function of the poll, it gives me error. any idea?
>
> On Sat, Oct 10, 2009 at 8:59 AM, Daniel Roseman
> <dan...@roseman.org.uk>wrote:
>
>>
>> On Oct 10, 3:43 pm, djbahati <djma...@gmail.com> wrote:
>> > Hi All,
>> > Am new to django,
>> > am developing application but i face a problem in displaying template.
>> > The browser does not display any template it just display plain text.
>> > am using django 1.1 and xampp 1.7.1. Any idea?
>>
>> http://docs.djangoproject.com/en/dev/howto/static-files/
>> --
>> DR.
>> >
>>
>
> >
>


-- 
--------------------------------------------------------------
http://www.tumbletooth.org
my linkedin profile : http://www.linkedin.com/in/bayuadji
--------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to