[1.9.x] Removed unexpected initial attribute in data migration examples.
Inadvertently added indb97a88495
. Backport of899c42cc8e
from master
This commit is contained in:
parent
76508a5119
commit
14d53d78be
1
AUTHORS
1
AUTHORS
|
@ -670,6 +670,7 @@ answer newbie questions, and generally made Django that much better:
|
|||
Stanislaus Madueke
|
||||
starrynight <cmorgh@gmail.com>
|
||||
Stefane Fermgier <sf@fermigier.com>
|
||||
Stefano Rivera <stefano@rivera.za.net>
|
||||
Stéphane Raimbault <stephane.raimbault@gmail.com>
|
||||
Stephan Jaekel <steph@rdev.info>
|
||||
Stephen Burrows <stephen.r.burrows@gmail.com>
|
||||
|
|
|
@ -456,7 +456,6 @@ Then, open up the file; it should look something like this::
|
|||
from django.db import migrations, models
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('yourappname', '0001_initial'),
|
||||
|
@ -494,7 +493,6 @@ need to do is use the historical model and iterate over the rows::
|
|||
person.save()
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('yourappname', '0001_initial'),
|
||||
|
|
Loading…
Reference in New Issue