superleader / django-graphviz

Automatically exported from code.google.com/p/django-graphviz
0 stars 0 forks source link

No module named pysqlite2 \ object has no attribute 'autodiscover' #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Problem?

...

  File "D:\programfiles\Python25\lib\site-packages\django-0.95.4-py2.5.egg\django\db\backends\sqlite3\base.py", line 10, in <module>
    raise ImproperlyConfigured, "Error loading pysqlite2 module: %s" % e

ImproperlyConfigured: Error loading pysqlite2 module: No module named pysqlite2

What steps will reproduce the problem?
1. python manage.py runserver
2. http://localhost:8000/

What is the expected output? What do you see instead?
I would expect to see a working application

What version of the product are you using? On what operating system?
I'm using Django 0.95.4 

Please provide any additional information below.

I have a feeling that this module is not working with Django 0.05.4
I changed the settings from 

DATABASE_ENGINE = 'sqlite3'
DATABASE_ENGINE = 'django.db.backends.sqlite3'

But then I get:
AttributeError at /
'module' object has no attribute 'autodiscover'

Request Method: GET
Request URL:    http://localhost:8000/
Exception Type: AttributeError
Exception Value:    'module' object has no attribute 'autodiscover'
Exception 
Location:   D:\programfiles\Python25\lib\site-packages\django-0.95.4-py2.5.egg\dja
ngo\core\urlresolvers.py in _get_urlconf_module, line 161

Original issue reported on code.google.com by holke.vi...@gmail.com on 24 Jan 2011 at 11:40

GoogleCodeExporter commented 8 years ago
can it be that the module is not working with Django 0.95.4?

Original comment by holke.vi...@gmail.com on 24 Jan 2011 at 11:42