Hello,

I am trying to configure my django project to use sqlite3. As of now I
do not have database creation permission for SQL, so i decided to try
and do my prototyping  locally. I set the following:

DATABASES = {
                'default' : {
                'NAME' : 'C:/python-dev/pythonproject/test/sqlite3.db'
                ,'ENGINE' : 'django.db.backends.sqlite3'
                }
}

when i run ./manage.py test

> django.db.utils.ConnectionDoesNotExist: The connection ReportAdmin doesn't 
> exist

I also tried

DATABASES = {
                'default' : {
                'NAME' : 'C:/python-dev/pythonproject/test/sqlite3.db'
                ,'ENGINE' : 'django.db.backends.sqlite3'
                }
                ,'ReportAdmin' : {
                'NAME' : 'C:/python-dev/pythonproject/test/sqlite3.db'
                ,'ENGINE' : 'django.db.backends.sqlite3'
                }
}

then i get

> django.db.utils.DatabaseError: no such table: django_content_type

I just want to do my testing locally; I must be missing something...
Any help would be appreciated. I am hoping to convince my company that
django is the way to go, but I can't do that without a nice
prototype.

Bonus question: Using PyDev in eclipse, how do you execute
doctests?!?!

Thank you in advance for your time,
Zo

System specs:
Python 2.6
Django 1.2.1
Windows XP
Eclipse 3.5.2

If you need extra information please let me know.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to