Skip to content

Commit e5c7c98

Browse files
20240417 - updates
1 parent 1ec21f7 commit e5c7c98

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

django.qmd

+9-1
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,20 @@ Then, add app to the `Installed_Apps` section of `settings.py`:
131131

132132
- holds files for migrating the database as we create and change the database schema over time
133133

134+
# Remove Migrations
135+
136+
```{python}
137+
#| eval: false
138+
139+
python3 manage.py migrate zero # can insert appname before 'zero'
140+
```
141+
134142
# Update Migrations
135143

136144
```{python}
137145
#| eval: false
138146
139-
python3 manage.py makemigrations
147+
python3 manage.py makemigrations # can insert appname after 'makemigrations'
140148
python3 manage.py migrate
141149
```
142150

0 commit comments

Comments
 (0)