Hi all, Has anybody seen the following exception? It was working till I did an svn update sometime in the last couple weeks. (I don't often use the admin so I'm not sure when.) I also tried getting it working with a clean syncdb but still get the error. I'm using sqlite.
The error mesg is: Caught an exception while rendering: 'datetime.date' object has no attribute 'minute' **** "result_list cl" on line 17 is highlighted in original ***** 7 {% block coltype %}flex{% endblock %} 8 {% block content %} 9 <div id="content-main"> 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 <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist"> 14 {% block search %}{% search_form cl %}{% endblock %} 15 {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %} 16 {% block filters %}{% filters cl %}{% endblock %} 17 {% block result_list %}{% result_list cl %}{% endblock %} 18 {% block pagination %}{% pagination cl %}{% endblock %} 19 </div> 20 </div> 21 {% endblock %} 22 The traceback is: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render_node 706. result = node.render(context) File "/usr/lib/python2.4/site-packages/django/template/__init__.py" in render 862. dict = func(*args) File "/usr/lib/python2.4/site-packages/django/contrib/admin/templatetags/admin_list.py" in result_list 182. return {'cl': cl, File "/usr/lib/python2.4/site-packages/django/contrib/admin/templatetags/admin_list.py" in results 179. yield list(items_for_result(cl,res)) File "/usr/lib/python2.4/site-packages/django/contrib/admin/templatetags/admin_list.py" in items_for_result 140. result_repr = capfirst(dateformat.format(field_val, datetime_format)) File "/usr/lib/python2.4/site-packages/django/utils/dateformat.py" in format 252. return df.format(format_string) File "/usr/lib/python2.4/site-packages/django/utils/dateformat.py" in format 27. pieces.append(str(getattr(self, piece)())) File "/usr/lib/python2.4/site-packages/django/utils/dateformat.py" in P 93. if self.data.minute == 0 and self.data.hour == 0: AttributeError at /admin/repository/project/ 'datetime.date' object has no attribute 'minute' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---