First steps with the new registration app

This commit is contained in:
2025-09-09 21:06:53 +02:00
parent c40bd5fceb
commit ada1a45df4
52 changed files with 59724 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
from sqlmodel import Field, SQLModel
from datetime import datetime
class Event(SQLModel, table=True):
id: int | None = Field(default=None, primary_key=True)
title: str = Field(nullable=False)
event_time: datetime = Field(nullable=False)
registration_deadline: datetime = Field(nullable=False)
description: str