Opened 9 years ago
Closed 9 years ago
#25259 closed New feature (fixed)
Add Django version in a comment (hint) to auto-generated migration files
Reported by: | Tyson Clugg | Owned by: | Tyson Clugg |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | migrations |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Add a comment such as:
# Generated by Django 1.8.3 on 2015-08-11 16:50:15
This will help identify possible future compatibility issues with migrations.
Change History (10)
comment:1 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Has patch: | set |
---|
follow-up: 5 comment:4 by , 9 years ago
Patch needs improvement: | set |
---|
comment:5 by , 9 years ago
Replying to timgraham:
Could you please elaborate as to what improvements you were expecting?
comment:6 by , 9 years ago
At least tests should pass: http://djangoci.com/job/pull-requests-trusty/2966/
comment:7 by , 9 years ago
@claudep - the tests do pass as per my comment in the PR - build 2966 is against an old revision, 2973 is for the current revision and passes:
Tests at http://djangoci.com/job/pull-requests-trusty/2973/ show that revision ac9a6a5 passes.
I made the above comment in the PR as that's where all the other build results are shown, adding the exact same comment here seemed like redundant noise.
comment:8 by , 9 years ago
Patch needs improvement: | unset |
---|
Updated PR: https://github.com/django/django/pull/5211
comment:9 by , 9 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
PR https://github.com/django/django/pull/5129