diff options
| author | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-03-29 19:56:43 +0200 |
|---|---|---|
| committer | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-03-29 19:56:43 +0200 |
| commit | a6e0225c9e22d76fae9493008cad8510d94905e9 (patch) | |
| tree | 000c53031f2845cb9fe300f681ec9fe3a01ef1b5 /web/website/fonctions.py | |
| parent | dc539fda0108dc724693fbdd7599bd86980f0de0 (diff) | |
| download | ATS-a6e0225c9e22d76fae9493008cad8510d94905e9.tar.gz ATS-a6e0225c9e22d76fae9493008cad8510d94905e9.tar.bz2 ATS-a6e0225c9e22d76fae9493008cad8510d94905e9.zip | |
web deleted
Diffstat (limited to '')
| -rwxr-xr-x | web/website/fonctions.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/web/website/fonctions.py b/web/website/fonctions.py deleted file mode 100755 index c1566af..0000000 --- a/web/website/fonctions.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python3 -# -*- coding: utf-8 -*- -import psycopg2 - -def baseHTML(title,body): - content=("""<!DOCTYPE html> -<html> - <head> - <title>"""+ title +"""</title> - <meta charset="UTF-8"> - <link rel="stylesheet" type="text/css" href="style.css"> - </head> - <body>"""+ body +"""</body> -</html> - - """) - return content - - -def connexionBD(): - connexion=psycopg2.connect ("host='localhost' dbname='atsdb' user='atsuser' password='123456'") - return connexion - |
