Ah, I get it now. I thought I've done the last step, changing my template 
files. Turns out I didn't.

Andrew, thanks for your help!

OJ

Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!

-----Original Message-----
From: Andrew Fong <fongand...@gmail.com>

Date: Tue, 7 Jul 2009 06:44:09 
To: Django users<django-users@googlegroups.com>
Subject: Re: Generic views problem



Do you have any Poll objects in the database? If not, add some using
the admin interface.

Assuming you do however, can we see your index view function? The one
from step 3 of the tutorial under "Write views that actually do
something".

-- Andrew

On Jul 7, 6:39 am, "Owen Jeremiah" <fowlpla...@gmail.com> wrote:
> I'm following the tutorial from django documentation and got to part 4 about 
> generic views. But I can't get the Poll objects in my dictionary, and the 
> result is 'No polls are available.'
>
> I'm running this in Ubuntu 9.04 with Python 2.6 and Django 1.0.2 installed. I 
> would appreciate it if somebody can point me into the right direction.
>
> TIA
>
> OJ
>
> Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung 
> Teruuusss...!


--~--~---------~--~----~------------~-------~--~----~
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