Open phorward opened 2 hours ago
From #1220:
Working test scenario:
skeletons/test.py
from viur.core import skeleton
from viur.core.bones import *
class TestSkel(skeleton.Skeleton):
name = StringBone(
descr="Name",
required=True,
defaultValue="Test",
)
modules/test.py
from viur.core.prototypes import List
class Test(List):
pass
Call the vi-admin in an empty tab using http://localhost:8080/vi/s/main.html#/db/test/add?name=Hello, an entry with name "Hello" is immediately created.
Originally posted by @sveneberth in https://github.com/viur-framework/viur-core/issues/1220#issuecomment-2437545907