# HG changeset patch # User Brian Neal # Date 1334429462 18000 # Node ID e17fc6bbb9b08289431916bd955f8b81199c5fec # Parent c723f8fa38cfc4014b73a8461e8fbafe7c5b22c6 For Django 1.4, got rid of verify_exists on URLFields. diff -r c723f8fa38cf -r e17fc6bbb9b0 madeira/articles/models.py --- a/madeira/articles/models.py Sat Apr 14 13:33:06 2012 -0500 +++ b/madeira/articles/models.py Sat Apr 14 13:51:02 2012 -0500 @@ -11,7 +11,7 @@ text = models.TextField() source = models.TextField(help_text="Enter the source/author for the " "article, copyright info, etc; it will appear under the article.") - url = models.URLField(blank=True, verify_exists=False, + url = models.URLField(blank=True, help_text = 'Link to original article; optional') pdf = models.FileField(upload_to = 'pdf/articles/%Y/%m/%d/', blank=True, help_text="If you want to make the original article available as " diff -r c723f8fa38cf -r e17fc6bbb9b0 madeira/band/models.py --- a/madeira/band/models.py Sat Apr 14 13:33:06 2012 -0500 +++ b/madeira/band/models.py Sat Apr 14 13:51:02 2012 -0500 @@ -42,7 +42,7 @@ class RecordLabel(models.Model): name = models.CharField(max_length=64) - url = models.URLField(verify_exists=False, max_length=200) + url = models.URLField(max_length=200) def __unicode__(self): return self.name @@ -87,7 +87,7 @@ class AlbumMerchant(models.Model): album = models.ForeignKey(Album, related_name='merchants') name = models.CharField(max_length=64) - url = models.URLField(verify_exists=False, max_length=200) + url = models.URLField(max_length=200) def __unicode__(self): return u'%s (%s)' % (self.name, self.album.title) diff -r c723f8fa38cf -r e17fc6bbb9b0 madeira/gigs/models.py --- a/madeira/gigs/models.py Sat Apr 14 13:33:06 2012 -0500 +++ b/madeira/gigs/models.py Sat Apr 14 13:51:02 2012 -0500 @@ -49,7 +49,7 @@ class Venue(models.Model): name = models.CharField(max_length=50) - url = models.URLField(verify_exists=False, blank=True) + url = models.URLField(blank=True) address = models.CharField(max_length=255, blank=True) phone = PhoneNumberField(help_text="Format: XXX-XXX-XXXX", blank=True) city = models.ForeignKey(City) @@ -63,7 +63,7 @@ class Band(models.Model): name = models.CharField(max_length=64) - url = models.URLField(verify_exists=False, blank=True) + url = models.URLField(blank=True) class Meta: ordering = ['name'] @@ -75,7 +75,7 @@ class Gig(models.Model): title = models.CharField(max_length=50, blank=True, help_text="Optional; e.g. Some Festival") - url = models.URLField(verify_exists=False, blank=True, + url = models.URLField(blank=True, help_text="Optional; e.g. Some Festival's Website") date = models.DateField(db_index=True) time = models.TimeField(null=True, blank=True)