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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -