Skip to content

Commit 68c76ee

Browse files
Added Cache to Docs Remote Requests
1 parent 0db6e3a commit 68c76ee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/routes/home.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
from flask import Blueprint, render_template, send_from_directory
2-
import requests_cache
32
from src.routes.authentication.routes import user_details
4-
from src.routes.blog.stories import CACHE_TIMEOUT
53

64
home_route = Blueprint('home', __name__)
75

86

9-
107
@home_route.route('/')
118
@user_details
129
def home(user_data: dict[str, str]):
@@ -50,4 +47,3 @@ def terms_of_use(user_data: dict[str, str]):
5047
def privacy_policy(user_data: dict[str, str]):
5148
context = dict(user_data=user_data)
5249
return render_template('privacy.html', **context)
53-

0 commit comments

Comments
 (0)