Added test model
This commit is contained in:
parent
26e60aa84f
commit
207e485051
2 changed files with 13 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
"packages": ["urllib3"]
|
"packages": ["urllib3"],
|
||||||
|
"models": ["mtest"]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
models/mtest.py
Normal file
11
models/mtest.py
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
from paramecio2.libraries.db.webmodel import WebModel
|
||||||
|
from paramecio2.libraries.db.usermodel import UserModel
|
||||||
|
from paramecio2.libraries.db import corefields
|
||||||
|
|
||||||
|
class MTestTable(WebModel):
|
||||||
|
|
||||||
|
def __init__(self, connection=None):
|
||||||
|
|
||||||
|
super().__init__(connection)
|
||||||
|
self.register(corefields.CharField('name_test'))
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue