Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-26 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+--
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Documentation|  Version:  1.5-beta-1
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  localflavor  | 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):

 * easy:  1 => 0
 * stage:  Design decision needed => 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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-26 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:  fixed
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by aaugustin):

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


Comment:

 I wrapped up the documentation.

 Thank you Simon and Claude -- you did all the hard work here!

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-26 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by Aymeric Augustin ):

 In [changeset:"e2396bf1220c543ee8d15c7640481889caace61d"]:
 {{{
 #!CommitTicketReference repository=""
 revision="e2396bf1220c543ee8d15c7640481889caace61d"
 [1.5.x] Updated documentation on localflavor translations

 to account for the deprecation of django.contrib.localflavor in 1.5.

 Refs #19482.
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-26 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by Aymeric Augustin ):

 In [changeset:"e2ec7b47b3acb0338d971942ca7ffd36c2a4d8f4"]:
 {{{
 #!CommitTicketReference repository=""
 revision="e2ec7b47b3acb0338d971942ca7ffd36c2a4d8f4"
 Updated documentation on localflavor translations

 to account for the removal of django.contrib.localflavor in 1.6.

 Refs #19482.
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-24 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by charettes):

 Both admonitions look good to me.

 @andreas_pelme, do you think this is correctly documenting the origin or
 the `DeprecationWarning`and how to get rid of it?

 Thanks for submitting the patches.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-24 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by claudep):

 Here are some proposed updated snippets for localflavor documentation:

 For 1.5:
 {{{
 Internationalization of localflavor
 ===

 The legacy ``localflavor`` application has its own catalog of
 translations, in
 the directory ``django/contrib/localflavor/locale``, and it's not loaded
 automatically like Django's general catalog in ``django/conf/locale``. If
 you
 want localflavor's texts to be translated, like form fields error
 messages, you
 must include :mod:`django.contrib.localflavor` in the
 :setting:`INSTALLED_APPS`
 setting, so the internationalization system can find the catalog, as
 explained
 in :ref:`how-django-discovers-translations`.

 For the newly-created ``localflavor`` applications, their behaviour is
 identical
 to any standard Django application, that is the application name (e.g.
 ``django_localflavor_jp``) should be present in the
 :setting:`INSTALLED_APPS`
 setting to activate the translations.
 }}}

 For 1.6:
 {{{
 Internationalization of localflavors
 

 To activate translations for any ``localflavor`` application, it's the
 same
 procedure as with any other standard Django application, that is the
 application
 name (e.g. ``django_localflavor_jp``) should be present in the
 :setting:`INSTALLED_APPS` setting.
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-24 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by claudep):

 Translations pushed, thanks Simon!

 Now the documentation can be updated.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-20 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by charettes):

 I went ahead and generated patches for the '''django-localflavor-xx'''
 apps.

 I wrote a script that extract messages from `django.contrib.localflavor`'s
 
[https://github.com/django/django/blob/stable/1.5.x/django/contrib/localflavor/locale
 locales], checkout all the `django-localflavor` apps, generate locale
 catalogs if they we present in contrib, compile them and generate diffs.

 Those patches ensure that installing a '''django-localflavor-xx''' app
 will provide the exact same translations as `'django.contrib.localflavor'`
 in `INSTALLED_APPS` did prior to 1.5.

 The script used to generate patches can be found
 [https://gist.github.com/4348301 here].

 The generated patches can be found [http://charettes.name/public/django-
 localflavor-locale-patches.tar.gz here].

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-17 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Release blocker  |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by russellm):

 * severity:  Normal => Release blocker


Comment:

 At the very least, this deserves consideration before we finalize 1.5, so
 I'm marking this as release blocker for the moment.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-16 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
-+-
 Reporter:  andreas_pelme|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:
 Severity:  Normal   |  1.5-beta-1
 Keywords:  localflavor  |   Resolution:
Has patch:  0| Triage Stage:  Design
  Needs tests:  0|  decision needed
Easy pickings:  1|  Needs documentation:  0
 |  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by charettes):

 * cc: charette.s@… (added)
 * needs_better_patch:   => 0
 * component:  Uncategorized => Documentation
 * needs_tests:   => 0
 * version:  master => 1.5-beta-1
 * keywords:   => localflavor
 * needs_docs:   => 0
 * stage:  Unreviewed => Design decision needed


Comment:

 The [https://docs.djangoproject.com/en/dev/ref/contrib/localflavor
 /#internationalization-of-localflavor documentation] should be updated to
 point out you don't have to have to include `django.contrib.localflavor`
 in `INSTALLED_APPS`.

 However I noticed that some [https://github.com/django/django-localflavor-
 ca localflavor apps] are still missing a locale folder which might result
 in no translations at all.

 Was there a plan to extract catalogs from
 `django/contrib/localflavor/locale/` to their specific ''localflavor''
 app? We could easily do this using the embedded
 
[https://github.com/django/django/blob/master/django/contrib/localflavor/locale/fr/LC_MESSAGES/django.po#L2352
 location string]. I volunteer to generate patches for this given it's
 accepted.

 Should we mark this as '''Release blocker'''? It's kind of a regresssion
 since you either get a warning you can't get rid off or install a
 standalone app that has potentially no translations.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning

2012-12-16 Thread Django
#19482: django.contrib.localflavor in INSTALLED_APPS raises DeprecationWarning
---+
 Reporter:  andreas_pelme  |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Uncategorized  |Version:  master
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  1  |  UI/UX:  0
---+
 The documentation states that "If you want localflavor's texts to be
 translated, like form fields error messages, you must include
 django.contrib.localflavor in the INSTALLED_APPS setting, ...".

 Adding django.contrib.localflavor to INSTALLED_APPS will make that module
 automatically imported, which will raise a deprecation warning.

 The deprecation warning located in django/contrib/localflavor/__init__.py
 should probably be moved to django/contrib/localflavor/XX/__init__.py.
 That would make the deprecation warning appear when there is some actual
 code that is imported.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.