wip
This commit is contained in:
parent
c238b9d757
commit
fcc0698aeb
12 changed files with 95 additions and 97 deletions
|
|
@ -30,7 +30,7 @@ learn-sql-model hero get --id 0
|
|||
## Use python to manage Heros
|
||||
|
||||
```python
|
||||
from learn_sql_model.models import Hero
|
||||
from learn_sql_model.models.hero import Hero
|
||||
# create a hero
|
||||
bruce = Hero(name="Batman", secret_name="Bruce Wayne")
|
||||
bruce.post()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue