[cvs] / lkrtweb / manage.py  

cvs: lkrtweb/manage.py

File: [cvs] / lkrtweb / manage.py (download) (as text)
Revision: 1.1.1.1 (vendor branch), Fri Apr 6 02:04:07 2007 UTC (6 years, 1 month ago) by tobias
Branch: MAIN, vendor-none
CVS Tags: release-none, HEAD
Changes since 1.1: +0 -0 lines
importing skeleton

#!/usr/bin/env python
from django.core.management import execute_manager
try:
    import settings # Assumed to be in the same directory.
except ImportError:
    import sys
    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
    sys.exit(1)

if __name__ == "__main__":
    execute_manager(settings)

Tobias McNulty

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help