Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
python_wiki:django_api [2018/08/04 15:31] billdozor [Add New Objects] |
python_wiki:django_api [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
Interacting with the Django Python API. | Interacting with the Django Python API. | ||
+ | |||
+ | API Reference: https:// | ||
**Checklist** | **Checklist** | ||
Line 90: | Line 92: | ||
\\ | \\ | ||
- | Two Steps: Create object and then save it to the database | + | **Two Steps: Create object and then save it to the database** |
<code python> | <code python> | ||
# Set variables that will be used to create a new object | # Set variables that will be used to create a new object | ||
Line 112: | Line 114: | ||
\\ | \\ | ||
- | One Step: Create object in the database | + | **One Step: Create object in the database** |
<code python> | <code python> | ||
# Set variables that will be used to create a new object | # Set variables that will be used to create a new object |