Create editor files
This commit is contained in:
0
ref-test/app/editor/__init__.py
Normal file
0
ref-test/app/editor/__init__.py
Normal file
0
ref-test/app/editor/static/editor.js
Normal file
0
ref-test/app/editor/static/editor.js
Normal file
0
ref-test/app/editor/templates/editor/index.html
Normal file
0
ref-test/app/editor/templates/editor/index.html
Normal file
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