Removed unexpected initial attribute in data migration examples.

Inadvertently added in db97a88495.
This commit is contained in:
Stefano Rivera 2017-03-25 15:59:17 -04:00 committed by Tim Graham
parent 7fffe3acc2
commit 899c42cc8e
2 changed files with 1 additions and 2 deletions

View File

@ -721,6 +721,7 @@ answer newbie questions, and generally made Django that much better:
Stanislaus Madueke Stanislaus Madueke
starrynight <cmorgh@gmail.com> starrynight <cmorgh@gmail.com>
Stefane Fermgier <sf@fermigier.com> Stefane Fermgier <sf@fermigier.com>
Stefano Rivera <stefano@rivera.za.net>
Stéphane Raimbault <stephane.raimbault@gmail.com> Stéphane Raimbault <stephane.raimbault@gmail.com>
Stephan Jaekel <steph@rdev.info> Stephan Jaekel <steph@rdev.info>
Stephen Burrows <stephen.r.burrows@gmail.com> Stephen Burrows <stephen.r.burrows@gmail.com>

View File

@ -458,7 +458,6 @@ Then, open up the file; it should look something like this::
from django.db import migrations from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
initial = True
dependencies = [ dependencies = [
('yourappname', '0001_initial'), ('yourappname', '0001_initial'),
@ -493,7 +492,6 @@ need to do is use the historical model and iterate over the rows::
person.save() person.save()
class Migration(migrations.Migration): class Migration(migrations.Migration):
initial = True
dependencies = [ dependencies = [
('yourappname', '0001_initial'), ('yourappname', '0001_initial'),