We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c49c841 commit 91713b2Copy full SHA for 91713b2
.gitignore
@@ -2,4 +2,6 @@
2
*.py[cod]
3
.web
4
__pycache__/
5
-venv/
+venv/
6
+alembic/
7
+alembic.ini
full_stack_python/pages/contact.py
@@ -4,6 +4,12 @@
from .. import navigation
from ..ui.base import base_page
+class ContactEntryModel(rx.Model, table=True):
8
+ first_name: str
9
+ last_name: str
10
+ email: str
11
+ message: str
12
+
13
14
class ContactState(rx.State):
15
form_data: dict = {}
rxconfig.py
@@ -2,4 +2,5 @@
config = rx.Config(
app_name="full_stack_python",
+ db_url="sqlite:///reflex.db",
)
0 commit comments