You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
378 B
Python
25 lines
378 B
Python
from flask import Blueprint, render_template
|
|
import json
|
|
|
|
from . import dump
|
|
|
|
|
|
bp = Blueprint("generate", __name__, url_prefix="/generate")
|
|
|
|
|
|
def generate():
|
|
pass
|
|
|
|
|
|
@bp.route("/")
|
|
def postit():
|
|
|
|
dump.dump()
|
|
|
|
return "hello"
|
|
|
|
# with open("contents.json", "r") as f:
|
|
# contents = json.load(f)
|
|
|
|
# return render_template("postit.html", contents=contents)
|