Dear All, I am trying to use the users/ authentication framework supplied with Django. I wrote something very simple myself, but would arther use the bundled system.
I have a urls.py file with: (r'^login/$', login), (r'^logout/$', logout), in (I know these are different to the ones given in the examples) I have created a template, registration/login which contains the template code from the Django book. But when I point to browser to localhost:8000/login I get an error: AttributeError at /login/ 'function' object has no attribute 'rindex' Request Method: GET Request URL: http://localhost:8000/login/ Exception Type: AttributeError Exception Value: 'function' object has no attribute 'rindex' Exception Location: /usr/lib/python2.4/site-packages/Django-0.95- py2.4.egg/django/core/urlresolvers.py in get_mod_func, line 23 Traceback (innermost last) Switch back to interactive view and a long stack trace. Any ideas? Thanks, Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---