title: 'AdminSite' object has no attribute 'root'
body: <pre><code>    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',
   'django.contrib.contenttypes',
   'django.contrib.sessions',
   'django.contrib.sites',
   'django.contrib.admin']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'sana.mrs.util.LoggingMiddleware')
  
  
  Traceback:
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
    101.                             request.path_info)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve
    250.             for pattern in self.url_patterns:
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in _get_url_patterns
    279.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in _get_urlconf_module
    274.             self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
    35.     __import__(name)
  File "/opt/sana/urls.py" in &lt;module&gt;
    131.     (r'^admin/(.*)', admin.site.root),
  
  Exception Type: AttributeError at /
  Exception Value: 'AdminSite' object has no attribute 'root'
  </code></pre>
  
  <p>The possible duplicate is <a href="https://stackoverflow.com/questions/5503616/how-to-correct-this-error-adminsite-object-has-no-attribute-root">How to correct this error: &quot;&#39;Adminsite&#39; object has no attribute &#39;root&#39;&quot;</a> .</p>
  
  <p>where it is mentioned 
  Your url for admin should be:</p>
  
  <pre><code>url(r'^admin/', include(admin.site.urls))
  </code></pre>
  
  <p>not <code>(r'^admin/(.*)', admin.site.root)</code> 
  - it's for Django 1.0. For Django 1.3 it wouldn't work.</p>
  
  <p>then I got this error</p>
  
  <p>NameError at /
  name 'include' is not defined</p>
  
  <pre><code>    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',
   'django.contrib.contenttypes',
   'django.contrib.sessions',
   'django.contrib.sites',
   'django.contrib.admin']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'sana.mrs.util.LoggingMiddleware')
  
  
  Traceback:
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
    101.                             request.path_info)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve
    250.             for pattern in self.url_patterns:
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in _get_url_patterns
    279.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py" in _get_urlconf_module
    274.             self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
    35.     __import__(name)
  File "/opt/sana/urls.py" in &lt;module&gt;
    132.  url(r'^admin/', include(admin.site.urls))
  
  Exception Type: NameError at /
  Exception Value: name 'include' is not defined
  </code></pre>
  
  <p>I am using Django Version 1.3.1.</p>