On Tue, Jul 6, 2010 at 2:00 PM, reduxdj <patricklemi...@gmail.com> wrote:
> Hi,
>
> I have an issue where i am including contrib.auth into my URLs,
> however, I get this error:
>
> my url pattern:
>
> (r'^accounts/', include('django.contrib.auth.views.login')),
>

django.contrib.auth.views.login is a view, not a url pattern, so you
don't include it, you reference it:

(r'^accounts/', 'django.contrib.auth.views.login'),

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to