No module name Dashboard

489 views
Skip to first unread message

Prakash

unread,
Dec 19, 2012, 6:15:30 AM12/19/12
to django-ad...@googlegroups.com
Environment:


Request Method: GET

Django Version: 1.4.2
Python Version: 2.7.3
Installed Applications:
('admin_tools',
 'admin_tools.menu',
 'admin_tools.dashboard',
 'django.contrib.auth',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admindocs')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Template error:
In template C:\Python27\lib\site-packages\admin_tools\dashboard\templates\admin\index.html, error at line 6
   No module named dashboard
   1 : {% extends "admin/base_site.html" %}


   2 : {% load i18n admin_tools_dashboard_tags %}


   3 : 


   4 : {% block extrastyle %}


   5 : {{ block.super }}


   6 : {% block dashboard_css %} {% admin_tools_render_dashboard_css %} {% endblock %}


   7 : {% endblock %}


   8 : 


   9 : {% block bodyclass %}dashboard{% endblock %}


   10 : 


   11 : {% block breadcrumbs %}{% endblock %}


   12 : {% block content_title %}{% endblock %}


   13 : {% block content %}


   14 : {% admin_tools_render_dashboard %}


   15 : {% endblock %}


   16 : 

Traceback:
File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in get_response
  136.                     response = response.render()
File "C:\Python27\lib\site-packages\django\template\response.py" in render
  104.             self._set_content(self.rendered_content)
File "C:\Python27\lib\site-packages\django\template\response.py" in rendered_content
  81.         content = template.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  140.             return self._render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in _render
  134.         return self.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  823.                 bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\debug.py" in render_node
  74.             return node.render(context)
File "C:\Python27\lib\site-packages\django\template\loader_tags.py" in render
  123.         return compiled_parent._render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in _render
  134.         return self.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  823.                 bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\debug.py" in render_node
  74.             return node.render(context)
File "C:\Python27\lib\site-packages\django\template\loader_tags.py" in render
  123.         return compiled_parent._render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in _render
  134.         return self.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  823.                 bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\debug.py" in render_node
  74.             return node.render(context)
File "C:\Python27\lib\site-packages\django\template\loader_tags.py" in render
  62.             result = block.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  823.                 bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\debug.py" in render_node
  74.             return node.render(context)
File "C:\Python27\lib\site-packages\django\template\loader_tags.py" in render
  62.             result = block.nodelist.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  823.                 bit = self.render_node(node, context)
File "C:\Python27\lib\site-packages\django\template\debug.py" in render_node
  74.             return node.render(context)
File "C:\Python27\lib\site-packages\django\template\base.py" in render
  1178.                     _dict = func(*resolved_args, **resolved_kwargs)
File "C:\Python27\lib\site-packages\admin_tools\dashboard\templatetags\admin_tools_dashboard_tags.py" in admin_tools_render_dashboard_css
  96.         dashboard = get_dashboard(context, location)
File "C:\Python27\lib\site-packages\admin_tools\dashboard\utils.py" in get_dashboard
  23.         return get_index_dashboard(context)
File "C:\Python27\lib\site-packages\admin_tools\dashboard\utils.py" in get_index_dashboard
  54.     ), context)()
File "C:\Python27\lib\site-packages\admin_tools\dashboard\utils.py" in _get_dashboard_cls
  42.         mod = import_module(mod)
File "C:\Python27\lib\site-packages\django\utils\importlib.py" in import_module
  35.     __import__(name)

Exception Type: ImportError at /admin/
Exception Value: No module named dashboard


hi, I am beginner in django admin tools, i want to create dashboard , according to the admin tools documentation, I follow all procedure but this issue is not resolve , Can anybody help me out  I am really appreciate your help..thanks.
    

Matias Munoz

unread,
Nov 16, 2013, 10:16:53 AM11/16/13
to django-ad...@googlegroups.com
Hi, did you figured out what was the issue? I'm having the same error and also with the menu module.
Reply all
Reply to author
Forward
0 new messages