comparison gpp/podcast/models.py @ 572:368d731af479

For Django 1.4, remove verify_exists from model field definitions.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 May 2012 20:51:38 -0500
parents 77d878acea5e
children
comparison
equal deleted inserted replaced
571:c2ba9c3395da 572:368d731af479
16 16
17 class Channel(models.Model): 17 class Channel(models.Model):
18 """Model to represent the Channel properties""" 18 """Model to represent the Channel properties"""
19 19
20 title = models.CharField(max_length=255) 20 title = models.CharField(max_length=255)
21 link = models.URLField(verify_exists=False) 21 link = models.URLField()
22 language = models.CharField(max_length=16) 22 language = models.CharField(max_length=16)
23 copyright = models.CharField(max_length=255) 23 copyright = models.CharField(max_length=255)
24 subtitle = models.CharField(max_length=255) 24 subtitle = models.CharField(max_length=255)
25 author = models.CharField(max_length=64) 25 author = models.CharField(max_length=64)
26 description = models.CharField(max_length=255) 26 description = models.CharField(max_length=255)
40 channel = models.ForeignKey(Channel) 40 channel = models.ForeignKey(Channel)
41 title = models.CharField(max_length=255) 41 title = models.CharField(max_length=255)
42 author = models.CharField(max_length=255) 42 author = models.CharField(max_length=255)
43 subtitle = models.CharField(max_length=255) 43 subtitle = models.CharField(max_length=255)
44 summary = models.TextField() 44 summary = models.TextField()
45 enclosure_url = models.URLField(verify_exists=False) 45 enclosure_url = models.URLField()
46 alt_enclosure_url = models.URLField(verify_exists=False, blank=True) 46 alt_enclosure_url = models.URLField(blank=True)
47 enclosure_length = models.IntegerField() 47 enclosure_length = models.IntegerField()
48 enclosure_type = models.CharField(max_length=32) 48 enclosure_type = models.CharField(max_length=32)
49 guid = models.CharField(max_length=255) 49 guid = models.CharField(max_length=255)
50 pubdate = models.DateTimeField(db_index=True) 50 pubdate = models.DateTimeField(db_index=True)
51 duration = models.CharField(max_length=16) 51 duration = models.CharField(max_length=16)