# HG changeset patch # User Brian Neal # Date 1336009898 18000 # Node ID 368d731af4792879c16c395d46f430d31750b039 # Parent c2ba9c3395daccb7ccc09cc7e7e39ad9b0d947e2 For Django 1.4, remove verify_exists from model field definitions. diff -r c2ba9c3395da -r 368d731af479 gpp/gcalendar/models.py --- a/gpp/gcalendar/models.py Wed May 02 20:43:16 2012 -0500 +++ b/gpp/gcalendar/models.py Wed May 02 20:51:38 2012 -0500 @@ -57,8 +57,7 @@ html = models.TextField(blank=True) date_submitted = models.DateTimeField(auto_now_add=True) google_id = models.CharField(max_length=255, blank=True) - google_url = models.URLField(verify_exists=False, max_length=255, - blank=True) + google_url = models.URLField(max_length=255, blank=True) status = models.SmallIntegerField(choices=STATUS_CHOICES, default=NEW, db_index=True) create_forum_thread = models.BooleanField(default=False) diff -r c2ba9c3395da -r 368d731af479 gpp/oembed/models.py --- a/gpp/oembed/models.py Wed May 02 20:43:16 2012 -0500 +++ b/gpp/oembed/models.py Wed May 02 20:51:38 2012 -0500 @@ -17,8 +17,7 @@ ) name = models.CharField(max_length=128) - api_endpoint = models.URLField(max_length=255, verify_exists=False, - verbose_name='API endpoint') + api_endpoint = models.URLField(max_length=255, verbose_name='API endpoint') url_regex = models.CharField(max_length=255, verbose_name='URL regex') format = models.IntegerField(choices=FORMAT_CHOICES) @@ -39,7 +38,7 @@ (RICH, "rich"), ) - url = models.URLField(max_length=255, verify_exists=False, db_index=True) + url = models.URLField(max_length=255, db_index=True) type = models.IntegerField(choices=MEDIA_TYPE_CHOICES) title = models.CharField(max_length=255, blank=True, default='') width = models.IntegerField() diff -r c2ba9c3395da -r 368d731af479 gpp/podcast/models.py --- a/gpp/podcast/models.py Wed May 02 20:43:16 2012 -0500 +++ b/gpp/podcast/models.py Wed May 02 20:51:38 2012 -0500 @@ -18,7 +18,7 @@ """Model to represent the Channel properties""" title = models.CharField(max_length=255) - link = models.URLField(verify_exists=False) + link = models.URLField() language = models.CharField(max_length=16) copyright = models.CharField(max_length=255) subtitle = models.CharField(max_length=255) @@ -42,8 +42,8 @@ author = models.CharField(max_length=255) 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_url = models.URLField() + alt_enclosure_url = models.URLField(blank=True) enclosure_length = models.IntegerField() enclosure_type = models.CharField(max_length=32) guid = models.CharField(max_length=255) diff -r c2ba9c3395da -r 368d731af479 gpp/weblinks/models.py --- a/gpp/weblinks/models.py Wed May 02 20:43:16 2012 -0500 +++ b/gpp/weblinks/models.py Wed May 02 20:51:38 2012 -0500 @@ -33,7 +33,7 @@ """Abstract model to aggregate common fields of a web link.""" category = models.ForeignKey(Category) title = models.CharField(max_length=128) - url = models.URLField(verify_exists=False, db_index=True) + url = models.URLField(db_index=True) description = models.TextField(blank=True) user = models.ForeignKey(User) date_added = models.DateTimeField(db_index=True) diff -r c2ba9c3395da -r 368d731af479 gpp/ygroup/models.py --- a/gpp/ygroup/models.py Wed May 02 20:43:16 2012 -0500 +++ b/gpp/ygroup/models.py Wed May 02 20:51:38 2012 -0500 @@ -34,7 +34,7 @@ msg = models.TextField() # precomputed URL to this post in the parent thread for efficiency - thread_url = models.URLField(verify_exists=False, blank=True) + thread_url = models.URLField(blank=True) class Meta: ordering = ('creation_date', )