"""
This module defines handlers/view functions for actually serving web pages.
"""

from flask import render_template
from flask import Flask

APP = Flask(__name__)


@APP.route('/')
def hello():
    """
    Serves the front page.
    """
    return render_template('hello.html')


if __name__ == '__main__':
    APP.run(host='0.0.0.0')

@@ -111,17 +111,26 @@
 template
+, url_for
 %0A
-
 from fla
@@ -281,17 +281,609 @@
 lo.html'
-)
+,%0A                           horoscope_url=url_for('/_horoscope.json'),%0A                           starsign_url=url_for('/_starsign.json'))%0A%0A%0A@APP.route('/_horoscope.json')%0Adef get_horoscope():%0A    %22%22%22%0A    Fetches a horoscope from someone else and returns it.%0A%0A    Parameters:%0A        sign (str): the star sign the horoscope is for.%0A        date (YYYY-MM-DD): the date to find a horoscope for.%0A    %22%22%22%0A    pass%0A%0A%0A@APP.route('/_starsign.json')%0Adef get_starsign():%0A    %22%22%22%0A    Gets someone's star sign.%0A%0A    Parameters:%0A        date (YYYY-MM-DD): the date of the person's birth.%0A    %22%22%22%0A    pass
 %0A%0A%0Aif __

add endpoint stubs for getting horoscope and turning a date of birth into a star sign