We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db6e3a commit 68c76eeCopy full SHA for 68c76ee
src/routes/home.py
@@ -1,12 +1,9 @@
1
from flask import Blueprint, render_template, send_from_directory
2
-import requests_cache
3
from src.routes.authentication.routes import user_details
4
-from src.routes.blog.stories import CACHE_TIMEOUT
5
6
home_route = Blueprint('home', __name__)
7
8
9
-
10
@home_route.route('/')
11
@user_details
12
def home(user_data: dict[str, str]):
@@ -50,4 +47,3 @@ def terms_of_use(user_data: dict[str, str]):
50
47
def privacy_policy(user_data: dict[str, str]):
51
48
context = dict(user_data=user_data)
52
49
return render_template('privacy.html', **context)
53
0 commit comments