summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/custom_templates/project_template
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 09:53:47 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 14:36:57 +0100
commit89f40e36246100df6a11316c31a76712ebc6c501 (patch)
tree6e65639683ddaf2027908d1ecb1739e0e2ff853b /tests/admin_scripts/custom_templates/project_template
parentb3d2ccb5bfbaf6e7fe1f98843baaa48c35a70950 (diff)
Merged regressiontests and modeltests into the test root.
Diffstat (limited to 'tests/admin_scripts/custom_templates/project_template')
-rw-r--r--tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile1
-rw-r--r--tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py1
-rw-r--r--tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py1
-rw-r--r--tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt1
-rwxr-xr-xtests/admin_scripts/custom_templates/project_template/manage.py6
-rw-r--r--tests/admin_scripts/custom_templates/project_template/project_name/__init__.py0
-rw-r--r--tests/admin_scripts/custom_templates/project_template/project_name/settings.py1
-rw-r--r--tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt2
-rw-r--r--tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.icobin0 -> 894 bytes
9 files changed, 13 insertions, 0 deletions
diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile b/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile
new file mode 100644
index 0000000000..032f0bcd72
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/Procfile
@@ -0,0 +1 @@
+# some file for {{ project_name }} test project \ No newline at end of file
diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py b/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py
new file mode 100644
index 0000000000..032f0bcd72
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/additional_file.py
@@ -0,0 +1 @@
+# some file for {{ project_name }} test project \ No newline at end of file
diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py b/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py
new file mode 100644
index 0000000000..6b553f190f
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/extra.py
@@ -0,0 +1 @@
+# this file uses the {{ extra }} variable
diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt b/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt
new file mode 100644
index 0000000000..032f0bcd72
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/requirements.txt
@@ -0,0 +1 @@
+# some file for {{ project_name }} test project \ No newline at end of file
diff --git a/tests/admin_scripts/custom_templates/project_template/manage.py b/tests/admin_scripts/custom_templates/project_template/manage.py
new file mode 100755
index 0000000000..d9843c433f
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/manage.py
@@ -0,0 +1,6 @@
+# The manage.py of the {{ project_name }} test project
+
+# template context:
+project_name = '{{ project_name }}'
+project_directory = '{{ project_directory }}'
+secret_key = '{{ secret_key }}'
diff --git a/tests/admin_scripts/custom_templates/project_template/project_name/__init__.py b/tests/admin_scripts/custom_templates/project_template/project_name/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/project_name/__init__.py
diff --git a/tests/admin_scripts/custom_templates/project_template/project_name/settings.py b/tests/admin_scripts/custom_templates/project_template/project_name/settings.py
new file mode 100644
index 0000000000..ddc216c829
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/project_name/settings.py
@@ -0,0 +1 @@
+# Django settings for {{ project_name }} test project.
diff --git a/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt b/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt
new file mode 100644
index 0000000000..873eaded88
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/ticket-18091-non-ascii-template.txt
@@ -0,0 +1,2 @@
+Some non-ASCII text for testing ticket #18091:
+üäö €
diff --git a/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico b/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico
new file mode 100644
index 0000000000..1db49645b5
--- /dev/null
+++ b/tests/admin_scripts/custom_templates/project_template/ticket-19397-binary-file.ico
Binary files differ