Skip to content

Instantly share code, notes, and snippets.

@keithhackbarth
Created October 10, 2013 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keithhackbarth/6911472 to your computer and use it in GitHub Desktop.
Save keithhackbarth/6911472 to your computer and use it in GitHub Desktop.
Django admin - Some timezone blurb in admin so that user's are aware of either PST or UTC, etc.
{% extends "admin/base.html" %}
{% block extrahead %}
{{block.super}}
<script>
$(function () {
$('.datetime').append(
'<br>Times are shown in Pacific Standard Time' +
'<br>Be aware if you are editing information in another timezone'
);
});
</script>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment