git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@198
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
page_num=page_num,
count=count)
+
+def departments(request):
+ raise NotImplementedError
+
+
def user_prefs(request):
return g.render('simplemessage.xhtml',
title=_('Sorry...'),
return '%s :: %s' % (item.parent_heading.title, item.title)
else:
return item.title
-
- lastmod = max(i.last_modified for i in items)
+ lastmod = items and max(i.last_modified for i in items) or datetime.now()
return g.render('feeds/course_atom.xml',
course=course,
feed_type=feed_type,
items=items,
root='http://%s' % request.get_host(),
_serialization='xml')
+