Readme: some minor changes again

This commit is contained in:
DarkCat09 2023-03-03 14:28:59 +04:00
parent fe1f12c3b2
commit 7c7e973a83

View file

@ -137,7 +137,7 @@ It should be preferred to the direct constructor call.
### Sample website ### Sample website
Included templates and CSS/JS files, paths, forms and SQL database Included templates and CSS/JS files, paths, forms and SQL database
are related to the sample website (for showing how the template works) are related to the sample website (for showing how the template works)
and can be deleted or edited, except: and can be deleted or edited, **except:**
- `__init__.py`s - `__init__.py`s
- `main.py` - `main.py`
- `common.py` - `common.py`
@ -161,7 +161,7 @@ there are two schemas — `User` and `UserCreate` — for one `User` SQLAlchemy
> The first one is needed for SELECT requests, > The first one is needed for SELECT requests,
and the second one is for INSERT requests (creating users). and the second one is for INSERT requests (creating users).
> The first one contains all information about user, > The first one contains all information about user,
but the second one (`UserCreate`) ommits `id` field, but the second one (`UserCreate`) ommits `id` field,
because we don't want to specify an ID when creating a new user, because we don't want to specify an ID when creating a new user,
it will be generated automatically by the MariaDB server. it will be generated automatically by the MariaDB server.