all this does at the moment is echoes the path from the request back in the response, but it's the super basic plumbing I can write at the moment
11 lines
236 B
Python
11 lines
236 B
Python
"""Journal functionality."""
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('journal_views', __name__, url_prefix='/')
|
|
|
|
|
|
@bp.route('/', defaults={'path': 'INDEX'})
|
|
@bp.route('/<path:path>')
|
|
def display_journal_entry(path):
|
|
return path
|