mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #25259 -- Added comments to header of generated migration files
This commit is contained in:
committed by
Markus Holtermann
parent
235caabacc
commit
e34226fc37
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user