I am having trouble starting a django nose.
In the installation instructions, I installed:
- Running
pip install django-nose - Adding
'django_nose' to INSTALLED_APPS in settings.py (including as the most recent application in case of possible problems with the application) - Adding
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' to settings.py
When I run the test, i.e. manage.py test , I get:
django.db.utils.DatabaseError: no such table: django_content_type
I decided that I need to synchronize the database. I use the south. When I use manage.py syncdb , django_nose does not appear in the list of synchronized applications or in the list of applications "Not synchronized (using migration)".
Finally, when I try to synchronize with the south anyway, i.e. manage.py schemamigration django_nose --initial , I get:
django.core.exceptions.ImproperlyConfigured: App with label django_nose is missing a models.py module.
I have Django 1.4 with the southern version 0.7.5 installed in virtualenv.
What am I doing wrong? If nothing, how can I debug this installation problem?
source share