Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-04-06 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
+-
 Reporter:  foonicorn   |Owner:  Andrew Godwin
 Type:  Bug |   Status:  closed
Component:  Migrations  |  Version:  master
 Severity:  Normal  |   Resolution:  invalid
 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 Tim Graham):

 * resolution:  fixed => invalid
 * severity:  Release blocker => Normal


--
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/067.27426ed98934eee4216d824ea738ce5e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-04-06 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 Martin Bächtold):

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


Comment:

 Claude, I was somewhat rash with my previous statement. I created the demo
 project from scratch (locally only, not pushed to GitHub) using
 `ugettext_lazy` and I could not reproduce the error. I assume this ticket
 can be closed. Thanks for your help!

--
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/067.2be04b46d8655b72e984697d5aeabfad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-04-06 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  new
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 Claude Paroz):

 Martin, could you then update your sample project to use `ugettext_lazy`?

--
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/067.41c0eaa32e61c7ea7713cc8599dd23d4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-04-06 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  new
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 Martin Bächtold):

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


--
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/067.aa8a27eed8f2e74d16252b4556e93ccf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-04-06 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 Martin Bächtold):

 Replying to [comment:29 Claude Paroz]:
 > Martin, many thanks for the sample project. Could you please try to
 reproduce the issue by replacing `ugettext` by `ugettext_lazy` in the
 `polls/models.py` file?

 Claude, sorry for the delay, I did not get a notification about your
 comment.

 Replacing `ugettext` by `ugettext_lazy` in the `polls/models.py` file did
 not solve the problem. New migration files are generated anyway when
 changing `settings.LANGUAGE_CODE`.

--
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/067.d5376933e0a45bf85ca83f146ffe7e53%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-03-28 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 Tim Graham):

 It's a bug in django-avatar -- it uses `from django.utils.translation
 import ugettext as _` rather than `ugettext_lazy` as Claude mentioned.

--
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/067.c38d2a402fab4a3da1401eb344ada7fc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-03-28 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 cryptogun):

 Same problem here. `makemigrations` executed from production server and
 local server would always generate new migration files. Not good for Git
 control.
 App: [https://github.com/grantmcconnaughey/django-
 avatar/blob/master/avatar/models.py#L98 django-avatar]
 {{{
 diff ./avatar/migrations/0006_auto_20170329_0405.py
 ./avatar/migrations/0007_auto_20170329_0455.py
 2c2
 < # Generated by Django 1.10.5 on 2017-03-28 20:05
 ---
 > # Generated by Django 1.10.5 on 2017-03-28 20:55
 14c14
 < ('avatar', '0005_auto_20170306_1939'),
 ---
 > ('avatar', '0006_auto_20170329_0405'),
 20c20
 < options={'ordering': ['-pk'], 'verbose_name': 'avatar',
 'verbose_name_plural': 'avatars'},
 ---
 > options={'ordering': ['-pk'], 'verbose_name': '头像',
 'verbose_name_plural': '头像'},
 25c25

 ...

 }}}

--
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/067.e8f261f95c0945b7190a5e260b99d632%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-02-26 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 Claude Paroz):

 Martin, many thanks for the sample project. Could you please try to
 reproduce the issue by replacing `ugettext` by `ugettext_lazy` in the
 `polls/models.py` file?

--
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/067.b7dbe15a985cf288866588396c639ade%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2017-02-26 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+-
 Reporter:  foonicorn|Owner:  Andrew Godwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 Martin Bächtold):

 Replying to [comment:27 Claude Paroz]:
 > I was not able to reproduce it with Django 1.9.2. You might have to
 create a sample project where this can be reproduced to convince us.

 I have create a sample project available at https://github.com/mbaechtold
 /django-ticket-21498-demo

 Hope this helps to convince you this is still an issue.

--
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/067.0dbb0771bf915e418ad23ecc09e2e4d0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2016-02-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  needsinfo
 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 claudep):

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


Comment:

 I was not able to reproduce it with Django 1.9.2. You might have to create
 a sample project where this can be reproduced to convince us.

--
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/067.c459a00cb2729fb8e232be12ad271974%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2016-02-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  new
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 Hedde):

 * status:  closed => new
 * resolution:  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/067.183de1169b5256e0a5d52250b62c9764%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2016-02-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 Hedde):

 This issue re-occurs on 1.9.2, I managed to overcome it by overwriting the
 makemigrations command then foricing a default locale.. perhaps this
 should be a django setting anyway, optionally adding the falg through cli?

--
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/067.792e1efefe40e0417554fea178d0db45%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 tcx):

 Replying to [comment:21 timgraham]:
 > Hi Tomas, can you test with Django's master branch? I believe that issue
 might be related to/fixed by f7c287fca9c9e6370cc88d1457d3ed9466703687.

 Hello Tim, yes, django trunk shows "No changes detected" so it's OK.

--
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/067.d7489e246a2aa025516e3eb9e0f3dd40%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 claudep):

 In Django 1.8, you *might* obtain a new migration just after having
 upgraded from 1.7 (if the existing migration uses a translated string),
 but then the translations won't affect migrations any longer.

--
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/067.23f8927738e308cbdc1754b29677c3b9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 MarkusH):

 Replying to [comment:21 timgraham]:
 > Hi Tomas, can you test with Django's master branch? I believe that issue
 might be related to/fixed by f7c287fca9c9e6370cc88d1457d3ed9466703687.

 It's exactly the case I constructed in
 https://github.com/django/django/pull/3838#issuecomment-68784330

--
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/067.17f7d17d42cb3327319e7feb31822960%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 timgraham):

 Hi Tomas, can you test with Django's master branch? I believe that issue
 might be related to/fixed by f7c287fca9c9e6370cc88d1457d3ed9466703687.

--
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/067.7672d30a1298667a4473ca39edfdc303%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 tcx):

 * cc: tomas.kostrhun@… (added)


--
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/067.403e1cb9987af00f2c0ae01c8aefe22a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2015-01-09 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 tcx):

 I can reproduce it on 1.7.2.

 Started the project with

 {{{
 LANGUAGE_CODE = 'cs'
 LANGUAGES = ( ('cs', 'Czech'), ('en', 'English'), )
 USE_I18N = True
 }}}

 all model fields with verbose_name in Czech like

 {{{
 from django.db import models
 from django.utils.translation import ugettext_lazy as _

 class Book(models.Model):
 name = models.CharField(_(u'Název'), max_length=255)
 }}}

 initial migration

 {{{
 ('name', models.CharField(max_length=255, verbose_name='N\xe1zev')),
 }}}

 after I've added en locale and translated "Název" as "Title"
 makemigrations shows

 {{{
 migrations.AlterField(
 model_name='book',
 name='name',
 field=models.CharField(max_length=255, verbose_name='Title'),
 preserve_default=True,
 ),
 }}}

 when I import _ in models.py just as ugettext (not ugettext_lazy) problem
 disappears.

--
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/067.397da5760a0144fe078a3af51101bee6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-10-22 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 charettes):

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


Comment:

 @ChillarAnand, please don't re-open without providing a valid reason.

 Did you manage to reproduce the issue on the `stable/1.7.x` branch?

--
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/067.f3fcef9fd159162b01b02a938946364c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-10-22 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  new
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 ChillarAnand):

 * status:  closed => new
 * resolution:  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/067.7c0e3d265c977de172aedcb09ddcc97c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-06-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 andrewgodwin):

 Oddly, no fix was needed on the stable/1.7.x branch, as it did not show
 the symptom in my tests; this appears to have been fixed by a the new
 autodetector code and then broken by
 
https://github.com/django/django/commit/a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45.

 If someone can get the problem on the stable/1.7.x branch please reopen.

-- 
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/067.abf3b94874f60615213fe12e62b990ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-06-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  closed
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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:"d359647715bccffd7cfc5eb8bcf5edb5c714fb00"]:
 {{{
 #!CommitTicketReference repository=""
 revision="d359647715bccffd7cfc5eb8bcf5edb5c714fb00"
 Fixed #21498: Don't use a fallback language if you're en-us.
 }}}

-- 
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/067.b73793cb2cb8258a656d97984a70ef18%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-06-16 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
-+
 Reporter:  foonicorn|Owner:  andrewgodwin
 Type:  Bug  |   Status:  assigned
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   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 andrewgodwin):

 * owner:  MarkusH => andrewgodwin
 * severity:  Normal => Release blocker


Comment:

 Claiming this to fix it tonight, as it just got way worse now we have
 migrations for contrib apps (upping to release blocker due to that)

-- 
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/067.4ddd84a3b79239cf96f147e00f58de44%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-01-28 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
+
 Reporter:  foonicorn   |Owner:  MarkusH
 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 andrewgodwin):

 Well, the serializer currently runs any Promise through force_text before
 saving it, but the autodetector doesn't serialize anything before it
 compares. To be honest, if we could make Promises comparable (and make
 them evaluate on __eq__) that would solve it.

-- 
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/067.ab967a244acfcb43788da3edfb6011e3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes

2014-01-28 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
+
 Reporter:  foonicorn   |Owner:  MarkusH
 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 loic84):

 To solve this we may need a better way to handle Promises, maybe we could
 make them "deconstructible"?

-- 
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/067.781abd31f1ff3885828b7c334ca7cb69%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21498: Changing locale causes migrations autodetector to make unnecesary changes (was: Unnecessary migrations after nonrelevat fields changed)

2014-01-19 Thread Django
#21498: Changing locale causes migrations autodetector to make unnecesary 
changes
+
 Reporter:  foonicorn   |Owner:  MarkusH
 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
+

-- 
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/067.dbe00271dbc7f69aaf96b93c7738e18c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.