Thursday, May 13, 2010

Re: Help me- with the Database

On May 13, 2010, at 4:43 AM, francisgan9 wrote:

> Hi,
> I need help how to get pass the installation of the database part. -
> tutorial 1
> trying to use sqlite
>
<snip>


> self.connection = Database.connect(**kwargs)
> pysqlite2.dbapi2.OperationalError: unable to open database file

Evidently it can't open the database file. Check your DATABASE_NAME in settings.py. It should be a full path to a file. Preferably a file that does not yet exist on a path that does exist; it will be created when you run syncdb.

Shawn


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate