aboutsummaryrefslogtreecommitdiff
path: root/web/website/test.py
diff options
context:
space:
mode:
authorroot <clyhtsuriva@gmail.com>2020-03-01 21:18:29 +0100
committerroot <clyhtsuriva@gmail.com>2020-03-01 21:18:29 +0100
commit30e5e0279463f67d94b1c0f55f2fda97bcf9b1df (patch)
treed347edbdc3a2a57b4be76c93c65841b8cd746723 /web/website/test.py
parent32dfd7da66bce3d39812cecf5aba5ef6f8c97c0b (diff)
password protection
Diffstat (limited to 'web/website/test.py')
-rw-r--r--web/website/test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/website/test.py b/web/website/test.py
new file mode 100644
index 0000000..4da1d58
--- /dev/null
+++ b/web/website/test.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python3
+# -*- coding: utf-8 -*-
+
+import mod_python
+import fonctions
+
+def index(req):
+ req.content_type="text/html"
+ req.write(fonctions.baseHTML("Test","This is a test page."))