♻️Improve templates

This commit is contained in:
Brian Wiborg 2025-09-27 06:09:11 +02:00
parent 557bda6045
commit 5d204d24e8
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View file

@ -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)
# ...

View file

@ -1,5 +1,7 @@
# {{ project_name }} settings.py
PROJECT_NAME = "MyProject"
DATABASE_URL = "sqlite://db.sqlite3"
INSTALLED_APPS = []
INSTALLED_APPS = [
#'ohmyapi_auth',
]