Hi,

I changed my settings.py file like so but nothing happened after I 
restarted the server "$ python manage.py runserver".

USE_L10N = False
FORMAT_MODULE_PATH = 'config.locale'

So I then followed this tutorial by creating some extra folders and files.
http://www.epicserve.com/blog/2011/jul/15/change-datefield-format-django-admin/
And copying his formats.py file to *
"~/Django/mysite/mysite/config/locale/en/formats.py"*.

But I still don't see any difference in my admin history page, what else 
can I try?

Because when I add a new Poll then the date and time information is how I 
want it which looked like that by default when following the official 
Django tutorial.

Date: 2013-05-24
Time 14:18:46

But when I click on the History button then Date/time looks american using 
a.m/p.m time format.  I want my history page to use the same Date/Time 
format like on the previous page.

May 24, 2013, 2:18 p.m.

Also all the multiple Time format options in the formats.py file confuses 
me, file was taken from the tutorial from Epicserve.com blogger.
https://github.com/epicserve/django-base-site/blob/master/config/formats/en/formats.py






On Thursday, May 23, 2013 4:14:22 PM UTC+2, vicherot wrote:
>
> https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-USE_L10N
>
>
>
> 2013/5/23 Pepsodent Cola <[email protected] <javascript:>>
>
>> Hi,
>>
>> I'm reading Part 2 and this chapter *"Explore the free admin 
>> functionality"* of the Django tutorial.
>>
>> https://docs.djangoproject.com/en/1.5/intro/tutorial02/#explore-the-free-admin-functionality
>>
>> I have a question regarding the *"Change history"* part where you can 
>> see a screenshot at the end of that chapter.
>>
>> The time format used in the "Change history" administration pages uses 
>> *AM/PM 
>> time format*.  How can I make it display *24h time format* instead?
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Rafael E. Ferrero
> Claro: (03562) 15514856 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to