summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTyson Clugg <tyson@clugg.net>2015-08-11 17:51:01 +1000
committerMarkus Holtermann <info@markusholtermann.eu>2015-08-31 22:14:21 +1000
commite34226fc37dfa9eba89d913fd7ab8e95663b0d64 (patch)
tree63e150d83f4d88ae4a65975a42e8062edd3199ab /docs
parent235caabacc37278487d1107f6bbda90cc208cd64 (diff)
Fixed #25259 -- Added comments to header of generated migration files
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/writing-migrations.txt2
-rw-r--r--docs/topics/migrations.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/howto/writing-migrations.txt b/docs/howto/writing-migrations.txt
index f1dfc92d1f..5527302fa8 100644
--- a/docs/howto/writing-migrations.txt
+++ b/docs/howto/writing-migrations.txt
@@ -103,6 +103,7 @@ the respective field according to your needs.
:filename: 0006_remove_uuid_null.py
# -*- coding: utf-8 -*-
+ # Generated by Django A.B on YYYY-MM-DD HH:MM
from __future__ import unicode_literals
from django.db import migrations, models
@@ -156,6 +157,7 @@ the respective field according to your needs.
:filename: 0005_populate_uuid_values.py
# -*- coding: utf-8 -*-
+ # Generated by Django A.B on YYYY-MM-DD HH:MM
from __future__ import unicode_literals
from django.db import migrations, models
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index c656e56db5..d7aa7051d1 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -449,6 +449,7 @@ the file in the right place, suggest a name, and add dependencies for you)::
Then, open up the file; it should look something like this::
# -*- coding: utf-8 -*-
+ # Generated by Django A.B on YYYY-MM-DD HH:MM
from django.db import models, migrations
class Migration(migrations.Migration):