Issue #138 invalid
Jure Hotujec
created an issue

Django version: 1.6.2

I've followed the instructions but i can't get Django to work after i've installed django-admin-tools.

ImportError at /
No module named defaults
Request Method: GET
Request URL:    http://django.vpl.lan:8000/
Django Version: 1.6.2
Exception Type: ImportError
Exception Value:    
No module named defaults
Exception Location: /home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/admin_tools/urls.py in <module>, line 2
Python Executable:  /home/jurehotujec/issuetracker/bin/python
Python Version: 2.7.3
Python Path:    
['/home/jurehotujec/issuetracker/bin/django_test',
 '/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg',
 '/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg',
 '/home/jurehotujec/issuetracker/lib/python2.7',
 '/home/jurehotujec/issuetracker/lib/python2.7/plat-linux2',
 '/home/jurehotujec/issuetracker/lib/python2.7/lib-tk',
 '/home/jurehotujec/issuetracker/lib/python2.7/lib-old',
 '/home/jurehotujec/issuetracker/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages']
Server time:    Mon, 3 Mar 2014 17:52:41 +0000

Traceback:

Environment:


Request Method: GET
Request URL: http://django.vpl.lan:8000/

Django Version: 1.6.2
Python Version: 2.7.3
Installed Applications:
('admin_tools',
 'admin_tools.theming',
 'admin_tools.menu',
 'admin_tools.dashboard',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'partners',
 'south',
 'article')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')


Traceback:
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/handlers/base.py" in get_response
  101.                 resolver_match = resolver.resolve(request.path_info)
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/urlresolvers.py" in resolve
  318.             for pattern in self.url_patterns:
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/urlresolvers.py" in url_patterns
  346.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/core/urlresolvers.py" in urlconf_module
  341.             self._urlconf_module = import_module(self.urlconf_name)
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/utils/importlib.py" in import_module
  40.         __import__(name)
File "/home/jurehotujec/issuetracker/bin/django_test/django_test/urls.py" in <module>
  10.     url(r'^admin_tools/', include('admin_tools.urls')),
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/conf/urls/__init__.py" in include
  26.         urlconf_module = import_module(urlconf_module)
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/Django-1.6.2-py2.7.egg/django/utils/importlib.py" in import_module
  40.         __import__(name)
File "/home/jurehotujec/issuetracker/local/lib/python2.7/site-packages/admin_tools/urls.py" in <module>
  2. from django.conf.urls.defaults import patterns, url, include

Exception Type: ImportError at /
Exception Value: No module named defaults

Possible problem?

Comments (4)

  1. Log in to comment