'AdminSite' Object Has No Attribute 'root'
Environment: Request Method: GET Request URL: http://54.235.168.5/mds/ Django Version: 1.3.1 Python Version: 2.7.3 Installed Applications: ['sana.mrs', 'django.contrib.auth
Solution 1:
Do you have this
from django.conf.urls.defaults import patterns, include, url
in your urls.py?
Solution 2:
It seams that you forgot the from django.conf.urls.defaults import * or from django.conf.urls.defaults import include in your urls.py.
Solution 3:
You probably haven't imported it:
from django.conf.urls.defaults import include
In general, when it says that something is not defined, it means that the compiler can't resolve something. This is usually caused by missing import statements or spelling errors.
Post a Comment for "'AdminSite' Object Has No Attribute 'root'"