diff options
author | Simon Law <simon.law@ecometrica.com> | 2012-07-24 15:14:12 -0400 |
---|---|---|
committer | Simon Law <simon.law@ecometrica.com> | 2012-07-24 15:14:12 -0400 |
commit | bde096a028c2705b8f56fb5fdcbbaed4b318862d (patch) | |
tree | 8b9245948d43bac6c1755b0739d13b579f7419e3 /wkhtmltopdf/_testproject/templates | |
parent | 8e53c5bc5db462f6e39404c73ac96ec0cbb6a6c7 (diff) | |
download | django-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 'wkhtmltopdf/_testproject/templates')
-rw-r--r-- | wkhtmltopdf/_testproject/templates/footer.html | 2 | ||||
-rw-r--r-- | wkhtmltopdf/_testproject/templates/sample.html | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/wkhtmltopdf/_testproject/templates/footer.html b/wkhtmltopdf/_testproject/templates/footer.html new file mode 100644 index 0000000..3ae09cb --- /dev/null +++ b/wkhtmltopdf/_testproject/templates/footer.html @@ -0,0 +1,2 @@ +MEDIA_URL = {{ MEDIA_URL }} +STATIC_URL = {{ STATIC_URL }} diff --git a/wkhtmltopdf/_testproject/templates/sample.html b/wkhtmltopdf/_testproject/templates/sample.html new file mode 100644 index 0000000..3dfbdbb --- /dev/null +++ b/wkhtmltopdf/_testproject/templates/sample.html @@ -0,0 +1,7 @@ +<html> + <head> + </head> + <body> + <h1>{{ title }}</h1> + </body> +</html> |