makn...@gmail.com
unread,Jun 2, 2008, 10:48:53 PM6/2/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to snapboard-discuss
Hello,
I have discovered an issue with the 'snapboard/thread_index.html'
template rendering the date on line 37 (using newforms-admin-SVN-7507)
> AttributeError at /forum/
> 'str' object has no attribute 'weekday'
I tried something like this in 'snapboard/managers.py' on line 100,
but it won't evaluate in the query:
> 'date': datetime(*time(extra_last_updated, '%Y-%m-%d %H:%M:%S')[0:5]),
The only other solution I can see (for my short-term needs) is to
iterate through the results in the view(s) or write a template tag.
Cheers,
Aaron