On 1/26/07, AC <[EMAIL PROTECTED]> wrote:
> What would cause the following error when trying the <a
> href="http://www.djangobook.com/en/beta/chapter03/";>Chapter 3</a>
> example?

The book works with Django trunk -- a Suversion checkout of the code
-- and not the latest official release (I believe this is mentioned
early on).

The ability to use actual function objects in URL patterns -- as the
book's example does -- was added after the last official release.

To work along with the book, you'll need to do a Subversion checkout
of the latest code; in the 0.95/0.95.1 releases you specify the name
of the view as a string (which is why it complains about 'rindex').

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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