Re: How can I delete the default sqlite3 db?

2008-07-14 Thread Evert
> What I need to know is where did django create the default one. > > I didn't create it. I just specified I wanted to use sqlite3 in the > settings.py file, and left the DATABASE_NAME intact. Probably in your tmp directory: /tmp on most unices, or /var/tmp on OS X (don't know about windows). Yo

Re: How can I delete the default sqlite3 db?

2008-07-14 Thread adldesigner
Thanks a lot for the quick reply! I know how to create the db. What I need to know is where did django create the default one. I didn't create it. I just specified I wanted to use sqlite3 in the settings.py file, and left the DATABASE_NAME intact. On Jul 15, 1:58 am, cschand <[EMAIL PROTECTED]>

Re: How can I delete the default sqlite3 db?

2008-07-13 Thread cschand
create a folder called db in your project folder and in your settings file import os DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = os.path.join(os.path.dirname("__file__"), 'db/ test.db') here test.db is your sqllit

How can I delete the default sqlite3 db?

2008-07-13 Thread adldesigner
Hi guys, I'm trying to look for the location of the sqlite3 database that django creates if you don't specify anything for DATABASE_NAME in the settings.py file. I wish to delete this db, and use a new one created by me in a custom directory. Where is this default database located? Thank you ve