Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 17, 2010 15:40:23

eka (.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Date localization


Any reason why django is not reading from my FORMAT_MODULE_PATH ?
USE_L10N = True, USE_I18N = True
the date is transformed but not to my format but to the one in
django.conf.locale
django v1.2.3

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Dec. 17, 2010 15:58:35

eka (.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Date localization


debugging found that is trying to open *** ImportError: No module
named formats.en_US.formats

en_US ? shouldn't be 'en' ?


On Dec 17, 12:40 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
> Any reason why django is not reading from my FORMAT_MODULE_PATH ?
> USE_L10N = True, USE_I18N = True
> the date is transformed but not to my format but to the one in
> django.conf.locale
> django v1.2.3

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Dec. 17, 2010 16:29:12

eka (.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Date localization


It tries both (en_US, en) but import_module fails to import it

On Dec 17, 12:58 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
> debugging found that is trying to open *** ImportError: No module
> named formats.en_US.formats
>
> en_US ? shouldn't be 'en' ?
>
> On Dec 17, 12:40 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
>
> > Any reason why django is not reading from my FORMAT_MODULE_PATH ?
> > USE_L10N = True, USE_I18N = True
> > the date is transformed but not to my format but to the one in
> > django.conf.locale
> > django v1.2.3

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Dec. 17, 2010 16:35:13

eka (.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Date localization


Fixed thanks!

On Dec 17, 1:29 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
> It tries both (en_US, en) but import_module fails to import it
>
> On Dec 17, 12:58 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
>
> > debugging found that is trying to open *** ImportError: No module
> > named formats.en_US.formats
>
> > en_US ? shouldn't be 'en' ?
>
> > On Dec 17, 12:40 pm, "eka (Esteban)" <ekagauranga...@gmail.com> wrote:
>
> > > Any reason why django is not reading from my FORMAT_MODULE_PATH ?
> > > USE_L10N = True, USE_I18N = True
> > > the date is transformed but not to my format but to the one in
> > > django.conf.locale
> > > django v1.2.3

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support