Mercurial > public > sg101
diff gpp/podcast/models.py @ 143:1ed461fd2030
Podcast enhancements for #39. Provide channel level keyword support. Provide an alternate download URL so we can support both m4a and mp3 formats.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2009 21:28:31 +0000 |
parents | dbd703f7d63a |
children | 76ad86454ce9 |
line wrap: on
line diff
--- a/gpp/podcast/models.py Sun Dec 06 21:25:00 2009 +0000 +++ b/gpp/podcast/models.py Sun Dec 06 21:28:31 2009 +0000 @@ -24,6 +24,7 @@ image = models.ImageField(upload_to='podcast') category = models.CharField(max_length=64) explicit = models.CharField(max_length=8, choices=EXPLICIT_CHOICES) + keywords = models.CharField(max_length=255) def __unicode__(self): return self.title @@ -37,6 +38,7 @@ subtitle = models.CharField(max_length=255) summary = models.TextField() enclosure_url = models.URLField(verify_exists=False) + alt_enclosure_url = models.URLField(verify_exists=False, blank=True) enclosure_length = models.IntegerField() enclosure_type = models.CharField(max_length=32) guid = models.CharField(max_length=255)