Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-19 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  1
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"50434aebe2d3307263ca55f6dd9fa7ace2f87d8f"]:
 {{{
 #!CommitTicketReference repository=""
 revision="50434aebe2d3307263ca55f6dd9fa7ace2f87d8f"
 [1.7.x] Fixed #22248 -- Made RenameModel reversible

 Backport of cf7a2a000e from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.625d7ce8081f9957dc1c96bcfb6a3ecd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-19 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  1
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Stratos Moros ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"cf7a2a000e16b86dd721a021f1a2001529d8d707"]:
 {{{
 #!CommitTicketReference repository=""
 revision="cf7a2a000e16b86dd721a021f1a2001529d8d707"
 Fixed #22248 -- Made RenameModel reversible
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.30a5487566c9bddd707eb4594bc53041%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-18 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  1
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by MarkusH):

 * cc: info+coding@… (added)
 * needs_better_patch:  0 => 1
 * needs_docs:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.4cd7f365c1cad9523ae91c3a171004bd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-18 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by stratoukos):

 Sorry about that, this is my first code contribution to Django. I'll keep
 it in mind for the future.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.e3aaaf4610adf463d27d57f0f7be8375%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-18 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by charettes):

 * stage:  Unreviewed => Accepted


Comment:

 The '''Triage State''' refers to the ticket and not the patch.

 Having '''Has patch''' checked with '''Patch needs improvement'''
 unchecked will ensure your patch shows up in the review queue.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.78848af116d1f1cd3ba9605acbedcbfc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-18 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Unreviewed
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by stratoukos):

 * has_patch:  0 => 1
 * stage:  Accepted => Unreviewed


Comment:

 I've made a pull request for this:
 https://github.com/django/django/pull/3572.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.9aa7a3ef881b1a6d8ed149237ec88cd5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-11-18 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by stratoukos):

 * cc: stratoukos (added)
 * status:  closed => new
 * resolution:  fixed =>


Comment:

 Although this seems to be fixed by b568bdf, RenameModel.reversible is
 still False making RenameModel unreversible.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.e650dc5221179c6c89829d64922d2deb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-06-07 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Andrew Godwin ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4ce7a6bc84c68406e39f48550434faeef3277eba"]:
 {{{
 #!CommitTicketReference repository=""
 revision="4ce7a6bc84c68406e39f48550434faeef3277eba"
 Fixed #22750, #22248: Model renaming now also alters field FKs
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.676bd6c8a7a9a807e299c31dbdd9bfda%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-06-07 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Andrew Godwin ):

 In [changeset:"b568bdf8da30fe5940a31add9f3a2b8029ecb04d"]:
 {{{
 #!CommitTicketReference repository=""
 revision="b568bdf8da30fe5940a31add9f3a2b8029ecb04d"
 [1.7.x] Fixed #22750, #22248: Model renaming now also alters field FKs
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.c9a71b576f912c2a9c435932c21676a7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-05-01 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by timo):

 There's a test in tests/migrations/test_operations.py
 (test_rename_model_with_related) that should be uncommented when this is
 fixed.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.299e7a6683d0bc60e14629f4d57bb4a0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-03-20 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by aaugustin):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.8ffe1664ffbcd27100dc5d5540570cc4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-03-19 Thread Django
#22248: Model renaming doesn't work backwards
--+
 Reporter:  andrewgodwin  |Owner:  andrewgodwin
 Type:  Bug   |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by andrewgodwin):

 * severity:  Release blocker => Normal


Comment:

 I'm marking model renames as irreversible  for now in order to move this
 away from release blocker status; there's other irreversible core
 operations, and we can address this if we get time before the final.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.0942428bf5e4cd6751d3f6aeb3f1db74%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22248: Model renaming doesn't work backwards

2014-03-11 Thread Django
#22248: Model renaming doesn't work backwards
-+
 Reporter:  andrewgodwin |Owner:  andrewgodwin
 Type:  Bug  |   Status:  assigned
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by andrewgodwin):

 * status:  new => assigned
 * needs_docs:   => 0
 * needs_tests:   => 0
 * needs_better_patch:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.8ed12721183bcfba941e1b14902a6846%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #22248: Model renaming doesn't work backwards

2014-03-11 Thread Django
#22248: Model renaming doesn't work backwards
-+--
 Reporter:  andrewgodwin |  Owner:  andrewgodwin
 Type:  Bug  | Status:  new
Component:  Migrations   |Version:  master
 Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed   |  Has patch:  0
Easy pickings:  0|  UI/UX:  0
-+--
 Because of the way ModelRename also triggers AlterField on the foreign
 keys of other models, it doesn't work in reverse, as that way round the
 foreign keys are repointed to the old model before it is re-created.

 Since some backends (e.g. PostgreSQL) repoint constraints along with
 renames, we need to make sure that no AlterField is triggered with a
 rename and then have RenameModel deal with the FKs on MySQL (and perhaps
 Oracle?)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.56df905ac506bfc9c05ddf2ef66b395d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.