♻️Improve templates
This commit is contained in:
parent
557bda6045
commit
5d204d24e8
2 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from ohmyapi.db import Model, field
|
||||
|
||||
|
||||
class MyModel(Model):
|
||||
id: int = field.IntField(min=1, pk=True)
|
||||
...
|
||||
# class MyModel(Model):
|
||||
# id: int = field.IntField(min=1, pk=True)
|
||||
# ...
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
# {{ project_name }} settings.py
|
||||
PROJECT_NAME = "MyProject"
|
||||
DATABASE_URL = "sqlite://db.sqlite3"
|
||||
INSTALLED_APPS = []
|
||||
INSTALLED_APPS = [
|
||||
#'ohmyapi_auth',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue