瀏覽代碼

Removed unexpected initial attribute in data migration examples.

Inadvertently added in db97a8849519a3933bf4abd2184efd68ebc21965.
Stefano Rivera 8 年之前
父節點
當前提交
899c42cc8e
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 0
      AUTHORS
  2. 0 2
      docs/topics/migrations.txt

+ 1 - 0
AUTHORS

@@ -721,6 +721,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>

+ 0 - 2
docs/topics/migrations.txt

@@ -458,7 +458,6 @@ Then, open up the file; it should look something like this::
     from django.db import migrations
 
     class Migration(migrations.Migration):
-        initial = True
 
         dependencies = [
             ('yourappname', '0001_initial'),
@@ -493,7 +492,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'),