[Debconf-video-commits] r367 - package/branches/pycon09/src/debconfvideo/web/pyconvideo
benh at alioth.debian.org
benh at alioth.debian.org
Sat Mar 21 18:06:26 UTC 2009
Author: benh
Date: 2009-03-21 18:06:26 +0000 (Sat, 21 Mar 2009)
New Revision: 367
Modified:
package/branches/pycon09/src/debconfvideo/web/pyconvideo/models.py
Log:
Base name must be a 'slug' not free text.
Modified: package/branches/pycon09/src/debconfvideo/web/pyconvideo/models.py
===================================================================
--- package/branches/pycon09/src/debconfvideo/web/pyconvideo/models.py 2009-03-21 17:56:01 UTC (rev 366)
+++ package/branches/pycon09/src/debconfvideo/web/pyconvideo/models.py 2009-03-21 18:06:26 UTC (rev 367)
@@ -96,7 +96,7 @@
start_time = IntervalField()
end_time = IntervalField()
event_recording_base_name = \
- models.CharField(max_length=150, unique=True,
+ models.SlugField(max_length=150, unique=True,
verbose_name='base name for target files')
def __unicode__(self):
return u'"%s" in "%s"' % (self.event, self.recording)
More information about the Debconf-video-commits
mailing list