diff gpp/oembed/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 8fd4984d5c3b
children
line wrap: on
line diff
--- 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()