# Conflicts: # demo/routes.py # demo/templates/index.html # demo/views/frontend.py # entry.pypull/2/head
commit
738008fd6a
@ -1,2 +1,3 @@
|
||||
venv
|
||||
demo/__pycache__
|
||||
demo/views/__pycache__
|
||||
|
||||
@ -1 +1 @@
|
||||
from .app import create_app
|
||||
from .app import create_app
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
from .views import frontend
|
||||
import aiohttp
|
||||
|
||||
|
||||
def setup_routes(app):
|
||||
app.router.add_routes([aiohttp.web.get('/', frontend.index), aiohttp.web.post('/submit', frontend.button_clicked)])
|
||||
|
||||
@ -1 +1 @@
|
||||
from . import frontend
|
||||
from . import frontend
|
||||
|
||||
Loading…
Reference in new issue