[Debconf-video-commits] r365 - package/branches/pycon09/src/debconfvideo/web/pyconvideo
benh at alioth.debian.org
benh at alioth.debian.org
Sat Mar 21 17:54:57 UTC 2009
Author: benh
Date: 2009-03-21 17:54:57 +0000 (Sat, 21 Mar 2009)
New Revision: 365
Modified:
package/branches/pycon09/src/debconfvideo/web/pyconvideo/admin.py
Log:
Order events and recordings by start time.
Modified: package/branches/pycon09/src/debconfvideo/web/pyconvideo/admin.py
===================================================================
--- package/branches/pycon09/src/debconfvideo/web/pyconvideo/admin.py 2009-03-21 17:48:44 UTC (rev 364)
+++ package/branches/pycon09/src/debconfvideo/web/pyconvideo/admin.py 2009-03-21 17:54:57 UTC (rev 365)
@@ -6,6 +6,7 @@
fields = ['title', 'conference_room', 'start_time', 'duration',
'description']
list_display = ['title', 'conference_room', 'start_time']
+ ordering = ['start_time']
class VideoRecordingAdmin(admin.ModelAdmin):
date_hierarchy = 'recording_time'
@@ -13,6 +14,7 @@
'recording_duration', 'file_status', 'comments', 'locked_by']
list_display = ['recording_filename', 'file_status', 'locked_by']
list_filter = ['file_status']
+ ordering = ['recording_time']
class VideoTargetFileAdmin(admin.ModelAdmin):
fields = ['event_recording', 'target_format',
More information about the Debconf-video-commits
mailing list