I realized that I left a few things out when describing the problem.
The error occurs when trying to access the change_list portion of the
admin interface after a record has been inserted with a null date.
Here is more details on the error produced:
Template error
In template c:\python25\lib\site-packages\django\contrib\admin
\templates\admin\change_list.html, error at line 16
Caught an exception while rendering: invalid literal for int() with
base 10: 'None'
6 {% block coltype %}flex{% endblock %}
7 {% block content %}
8 <div id="content-main">
9 {% block object-tools %}
10 {% if has_add_permission %}
11 <ul class="object-tools"><li><a href="add/{% if is_popup %}?
_popup=1{% endif %}" class="addlink">{% blocktrans with
cl.opts.verbose_name|escape as name %}Add {{ name }}{% endblocktrans
%}</a></li></ul>
12 {% endif %}
13 {% endblock %}
14 <div class="module{% if cl.has_filters %} filtered{% endif %}"
id="changelist">
15 {% block search %}{% search_form cl %}{% endblock %}
16 {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %}
17 {% block filters %}{% filters cl %}{% endblock %}
18 {% block result_list %}{% result_list cl %}{% endblock %}
19 {% block pagination %}{% pagination cl %}{% endblock %}
20 </div>
21 </div>
22 {% endblock %}
23
So the error is a result of the null dated being processed by the
date_hierarchy tag.
Any ideas?
Thanks,
Steve