Added api and front_end as Modules
This commit is contained in:
1 parent
09135e1738
commit
38a9ae2592
13 files changed
+76
-24
No files matched your search
+11
-2
@@ -1,4 +1,13 @@
|
||||
"""Couchpotato."""
|
||||
from flask import Flask
|
||||
from couchpotato.core.logger import CPLog
|
||||
from flask import Flask, Module
|
||||
from flask.helpers import url_for
|
||||
from flask.templating import render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
log = CPLog(__name__)
|
||||
web = Module(__name__, 'web')
|
||||
|
||||
|
||||
@web.route('/')
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
Reference in new issue
Block a user