On 3/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>     Like the commentor before, I could not get this example to run.
> However, applying what he suggested, ie. specifying current_datetime
> as a string instead, it runs now.

Using a function directly, instead of a string, is included in the
Django 0.96 release, and had been in the development version of Django
for some time; the "function object has no attribute 'rindex'" error
comes from using an older version of Django (such as the 0.95 release)
which did not include this feature.

Now that 0.96 is the current release, there shouldn't be any
incompatibilities (assuming that anyone who follows along with the
book is using the 0.96 release or a Subversion checkout of trunk).

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