[Answer]-Test Django app using models from a second app

1👍

Each time your create an app, you need to add it to the installed apps, for do that open your setting file, and add your app to installed apps:

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'your_test_app',
    'here_goes_your_other_app'
)

Then close the server, run python manage.py syncdb and try.

👤levi

Leave a comment