I have an app, Scaffold, installed, that runs perfectly when I use python manage.py runserver
but when I try to start it using django-admin, it fails;
You should be using manage.py
unless have a specific reason for not wanting project-specific configuration. According to the docs
manage.py is automatically created in each Django project. manage.py is a thin wrapper around django-admin that takes care of several things for you before delegating to django-admin:
- It puts your project’s package on sys.path.
- It sets the DJANGO_SETTINGS_MODULE environment variable so that it points to your project’s settings.py file.
- It calls django.setup() to initialize various internals of Django.