Skip to content

Commit 35febc3

Browse files
authored
Merge pull request #314 from rca/add-migration-to-docs
Add note about running migrations
2 parents 2ea19d2 + 83fc730 commit 35febc3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Authors
2929
- Mauricio de Abreu Antunes
3030
- Micah Denbraver
3131
- Rajesh Pappula
32+
- Roberto Aguilar
3233
- Rod Xavier Bondoc
3334
- Ross Lote
3435
- Ross Mechanic

docs/usage.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ Django tutorial:
7070
Now all changes to ``Poll`` and ``Choice`` model instances will be tracked in
7171
the database.
7272

73+
Run Migrations
74+
~~~~~~~~~~~~~~
75+
76+
With your model changes in place, create and apply the database migrations:
77+
78+
.. code-block:: bash
79+
80+
$ python manage.py makemigrations
81+
$ python manage.py migrate
82+
7383
Existing Projects
7484
~~~~~~~~~~~~~~~~~
7585

0 commit comments

Comments
 (0)