Added api and front_end as Modules

This commit is contained in:
Ruud committed 2011-02-13 01:58:56 +01:00
1 parent 09135e1738
commit 38a9ae2592
13 files changed
+76 -24

No files matched your search

+11 -2
View File
@@ -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')