How is /admin/jsi18n/ created

1,207 views
Skip to first unread message

Vincent Hussey

unread,
Dec 5, 2013, 11:05:03 AM12/5/13
to django...@googlegroups.com
Hi,
We are looking at date formats for django and we are trying to figure out how django creates the
localised formats found at the link below.

After a bit of investigation we have found out how to set them using DATE_FORMAT, TIME_FORMAT etc. settings in settings.py, but we'd
 like to figure out how this url is generated - it looks like a dynamically created link based on
django/conf/global_settings.py, modified by django/conf/locale/xx/formats.py, but we are struggling to figure out the exact mechanism.

<script type="text/javascript" src="/admin/jsi18n/"></script>

Thanks
Vincent

Tom Evans

unread,
Dec 9, 2013, 6:38:10 AM12/9/13
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages