On 11/5/06, Keith Mallory <[EMAIL PROTECTED]> wrote:
> I wrote a blog using classic views (writing  functions for reach
> URLpattern). It works perfectly. However when I tried to convert it using
> the same database using generic views, it does not work.
>
>
> Then  I tried using the updated code from the following link
> http://fallingbullets.com/blog/2006/aug/06/wordpress-clone-27-seconds-part-1-40/
>
>
> as well as RossP's updated blog.
>
> I have cut and pasted the code. It is throwing up 404 error saying that
> there are no entrys. But I can see at 10 of them using my admin interface.
>
> In fact I followed the instructions all over again twice and still no avail.
>
> I know I am doing something silly. But what can that be. Has anyone had
> similar experience? The code is ditto from fallingbullets article. Note, I
> have entrys in the database 2) The URLS are matching. I have my base.html
> and entry_archive.html and entry_detail.html at the right places.
>
> Is there anything which I need to do in settings.py to enable Generic Views.
> I did not see anything in Documentation.

So are you using your original models.py, plus the new urls.py from
the webpage? Or did you completely scrap your original database, and
start fresh with what's on the webpage?

Jay P.

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to