Permalink
Browse files

[1.10.x] Removed unexpected initial attribute in data migration examp…

…les.

Inadvertently added in db97a88.
Backport of 899c42c from master
  • Loading branch information...
stefanor authored and timgraham committed Mar 25, 2017
1 parent 9392e35 commit 72d4b39c7acc9ffd3f0e7ec21dd5d3e5bb91ba12
Showing with 1 addition and 2 deletions.
  1. +1 −0 AUTHORS
  2. +0 −2 docs/topics/migrations.txt
View
@@ -692,6 +692,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>
@@ -468,7 +468,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'),
@@ -506,7 +505,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'),

0 comments on commit 72d4b39

Please sign in to comment.