Adding a field to the profile: Difference between revisions

imported>Mark
imported>Mark
Line 438:
Destroying test database 'default'...
 
</pre></div>
 
 
== Commit 4: Save the migration file ==
 
Go ahead and commit the migration file.
 
<div class="example"><pre>
$ git status
# On branch tutorial
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: mysite/profile/tests.py
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# mysite/indexes/
# mysite/static/twisted-ping-dir/twisted-ping-file
no changes added to commit (use "git add" and/or "git commit -a")
 
$ git add mysite/profile/tests.py
 
$ git commit -m "Added a test for the Person.birthday field."
[tutorial 9b13221] Added a test for the Person.birthday field.
1 files changed, 26 insertions(+), 0 deletions(-)
</pre></div>
 
Anonymous user