Invalid syntax error line 30

django

#1

Guys

I am new on using Django, while executing URL patterns on py file.

Im getting sytax error;

urlpatterns =[
	url(r'^admin/, admin.site.urls),
	url(r'^login/', login_view, name='login'),
	url(r'^comments/', include("comments.urls", namespace='comments')),

	]

curly brace are in line close one, its complaining, Am i missing something here?

File "/home/ubuntu/workspace/django_test/urls.py", line 30
    }
    ^
SyntaxError: invalid syntax

#2

the code above misses ' on the second line at url(r'^admin/,