Create editor files
This commit is contained in:
12
ref-test/app/editor/views.py
Normal file
12
ref-test/app/editor/views.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from flask import Blueprint, render_template
|
||||
|
||||
editor = Blueprint(
|
||||
name='editor',
|
||||
import_name=__name__,
|
||||
template_folder='templates',
|
||||
static_folder='static'
|
||||
)
|
||||
|
||||
@editor.route('/')
|
||||
def _editor():
|
||||
return render_template('/editor/index.html')
|
Reference in New Issue
Block a user