python - invalid character in identifier (urls.py, line 5) in Django -
this first time learning django , getting following error.
invalid character in identifier (urls.py, line 5) in django error occuring application urls.py
this how app urls.py looks like:
from django.conf.urls import * maasapp import * urlpatterns = [url(r’^home/’,'maasapp.views.home',name='home'),]
please can me...
you putting wrong quotes. replace:
r’^home/’
with:
r'^home/'
Comments
Post a Comment