From d50794fc7d340e94e2d458dd4e033cb3aec640b0 Mon Sep 17 00:00:00 2001 From: Nikolay Shirokov Date: Wed, 10 Jan 2024 22:37:55 +0700 Subject: [PATCH 1/4] in-process --- .gitignore | 2 ++ .idea/misc.xml | 3 ++ __pycache__/app.cpython-310.pyc | Bin 0 -> 1282 bytes __pycache__/shortener.cpython-310.pyc | Bin 0 -> 448 bytes app.py | 46 ++++++++++++++++++++++++++ requirements.txt | 11 ++++++ shortener.py | 7 ++++ static/css/main.css | 0 templates/base.html | 39 ++++++++++++++++++++++ templates/index.html | 23 +++++++++++++ templates/short_url.html | 12 +++++++ 11 files changed, 143 insertions(+) create mode 100644 .gitignore create mode 100644 __pycache__/app.cpython-310.pyc create mode 100644 __pycache__/shortener.cpython-310.pyc create mode 100644 app.py create mode 100644 requirements.txt create mode 100644 shortener.py create mode 100644 static/css/main.css create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/short_url.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7279662 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +env/ \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 264d191..b73d6c6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,4 +4,7 @@