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 sqllite database. You can change with your db
name

satheesh

On Jul 14, 11:44 am, adldesigner <[EMAIL PROTECTED]> wrote:
> 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 very much for your help...
>
> Regards,
> adldesigner
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to