In Django I am using two applications:
- python manage.py startapp books
- python manage.py startapp contacts
Still I am only using the books application models. So I am using DATABASE_NAME
like:
DATABASE_NAME = 'C:/WorkBase/Python/first/books/book.db'
Now I want to use the second one contacts application models. How can I add contact application models to DATABASE_NAME?
My INSTALLED_APPS
looks like this.
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'first.books',
'first.contacts',
)
Note : I am using SQLite 3 as the database.