Re: url tag: "'str' object has no attribute 'regex'"

2013-05-15 Thread quilpy
thanks, that helped On Tuesday, 2 April 2013 08:45:32 UTC+5:30, Wenliang Chen wrote: > > Hi, > > I got the same issue. And I solved it doing this: > > urlpatterns= patterns('', > (r'^login/$', 'django.contrib.auth.views.login'), <-Remove the > last comma in the patterns() > ) > > Hope

Re: url tag: "'str' object has no attribute 'regex'"

2013-04-01 Thread Wenliang Chen
Hi, I got the same issue. And I solved it doing this: urlpatterns= patterns('', (r'^login/$', 'django.contrib.auth.views.login'), <-Remove the last comma in the patterns() ) Hope this helps On Friday, May 18, 2012 5:58:28 AM UTC+8, refreegrata wrote: > > Hello list > > I know, this