On Fri, 2008-12-12 at 10:51 -0800, ben852 wrote:
> C:\Users\Benjamin\Desktop\mysite\sqlite3
> SQLite3 version 3.6.6.2
> Enter".help" for instructions.......

This suggests that the sqlite3 program is not on your normal system
paths. So Django won't be able to execute it. All Django does is call
os.execvp() to run the command, which means your normal paths are
searched.

If you can't run sqlite3 by just typing "sqlite3" -- that is, if you
have to give it any kind of directory path to find the executable -- it
isn't going to work through manage.py.

However, end of the day, this shouldn't really be a problem. The
"dbshell" management command is simply a wrapper around calling sqlite3
with the database name you specify in your settings file. So if you
don't want to or cannot (for some reason) install sqlite3 on your system
paths, just call it as you did above and pass it the name of the
database file on the command line.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to