From 9e39222a9ac5578c01596e1e7cc2c0d99ba8f0ce Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 19 Jun 2020 13:52:08 -0500 Subject: [PATCH] add base main.py file along with docstrings, templates --- main.py | 5 +++++ trivia/routes.py | 4 ++++ trivia/templates/error.html | 10 ++++++++++ trivia/templates/index.html | 10 ++++++++++ 4 files changed, 29 insertions(+) create mode 100644 trivia/routes.py create mode 100644 trivia/templates/error.html create mode 100644 trivia/templates/index.html diff --git a/main.py b/main.py index e69de29..5fb7cdc 100644 --- a/main.py +++ b/main.py @@ -0,0 +1,5 @@ +""" +main.py + +Simple launcher file for project. +""" \ No newline at end of file diff --git a/trivia/routes.py b/trivia/routes.py new file mode 100644 index 0000000..feca3f4 --- /dev/null +++ b/trivia/routes.py @@ -0,0 +1,4 @@ +""" +Handles + +""" \ No newline at end of file diff --git a/trivia/templates/error.html b/trivia/templates/error.html new file mode 100644 index 0000000..72ae328 --- /dev/null +++ b/trivia/templates/error.html @@ -0,0 +1,10 @@ + + + + + Error - {{ errorcode }} + + + + + \ No newline at end of file diff --git a/trivia/templates/index.html b/trivia/templates/index.html new file mode 100644 index 0000000..9590d18 --- /dev/null +++ b/trivia/templates/index.html @@ -0,0 +1,10 @@ + + + + + Index + + + + + \ No newline at end of file