What would cause the following error when trying the <a
href="http://www.djangobook.com/en/beta/chapter03/">Chapter 3</a>
example?
Traceback (most recent call last):
File
"C:\Python24\lib\site-packages\django-0.95.1-py2.4.egg\django\core\handlers\base.py"
in get_response
65. callback, callback_args, callback_kwargs = resolver.resolve(path)
File
"C:\Python24\lib\site-packages\django-0.95.1-py2.4.egg\django\core\urlresolvers.py"
in resolve
147. sub_match = pattern.resolve(new_path)
File
"C:\Python24\lib\site-packages\django-0.95.1-py2.4.egg\django\core\urlresolvers.py"
in resolve
112. self.func = self.get_callback()
File
"C:\Python24\lib\site-packages\django-0.95.1-py2.4.egg\django\core\urlresolvers.py"
in get_callback
116. mod_name, func_name = get_mod_func(self.callback)
File
"C:\Python24\lib\site-packages\django-0.95.1-py2.4.egg\django\core\urlresolvers.py"
in get_mod_func
23. dot = callback.rindex('.')
AttributeError at /now/
'function' object has no attribute 'rindex'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---