Hello
I am working my way through the
grid_tutorial by Jim Steil. At the end of
Basic Example I get the error message
404 NOT FOUND basic_grid when I call
127.0.0.1:8000/basic_grid.
controllers.py :
-----------------------------------------------------------------
from .common import unauthenticated, action, session, db, GRID_DEFAULTS
from py4web.utils.form import Form, FormStyleBulma
from py4web.utils.grid import Grid, GridClassStyleBulma
@unauthenticated("index", "index.html")
def index():
return dict()
@action("basic_grid", method=["POST", "GET"])
@action("basic_grid/<path:path>", method=["POST", "GET"])
@action.uses( session, db, "grid.html")
def basic_grid():
grid = Grid( path, db.district, **GRID_DEFAULTS )
return dict(grid=grid)
---------------------------------------------------------------------------------
However, this error is not displayed in the dashboard. Now I do not know what to do.
Erich