aboutsummaryrefslogtreecommitdiffstats
path: root/testproject/manage.py
diff options
context:
space:
mode:
authorSimon Law <simon.law@ecometrica.com>2012-07-24 15:14:12 -0400
committerSimon Law <simon.law@ecometrica.com>2012-07-24 15:14:12 -0400
commitbde096a028c2705b8f56fb5fdcbbaed4b318862d (patch)
tree8b9245948d43bac6c1755b0739d13b579f7419e3 /testproject/manage.py
parent8e53c5bc5db462f6e39404c73ac96ec0cbb6a6c7 (diff)
downloaddjango-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.tar.gz
django-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.tar.bz2
django-wkhtmltopdf-bde096a028c2705b8f56fb5fdcbbaed4b318862d.zip
Move testproject to wkhtmltopdf._testproject.
Avoid polluting the global library namespace with testproject. Instead, since wkhtmltopdf tests use it, we install it within under a "private" name. --HG-- rename : testproject/__init__.py => wkhtmltopdf/_testproject/__init__.py rename : testproject/manage.py => wkhtmltopdf/_testproject/manage.py rename : testproject/requirements.txt => wkhtmltopdf/_testproject/requirements.txt rename : testproject/settings.py => wkhtmltopdf/_testproject/settings.py rename : testproject/templates/footer.html => wkhtmltopdf/_testproject/templates/footer.html rename : testproject/templates/sample.html => wkhtmltopdf/_testproject/templates/sample.html rename : testproject/urls.py => wkhtmltopdf/_testproject/urls.py
Diffstat (limited to 'testproject/manage.py')
-rw-r--r--testproject/manage.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/testproject/manage.py b/testproject/manage.py
deleted file mode 100644
index 3e4eedc..0000000
--- a/testproject/manage.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-from django.core.management import execute_manager
-import imp
-try:
- imp.find_module('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" % __file__)
- sys.exit(1)
-
-import settings
-
-if __name__ == "__main__":
- execute_manager(settings)