Commits

Tom Clancy committed 40acf9e Merge

Merge

Comments (0)

Files changed (1)

 class FocusArea(models.Model):
 	name = models.CharField(max_length=30, unique=True)
 	link = models.ForeignKey('HtmlPage', null=True, blank=True)
-	external_link = models.URLField(blank=True)
+	external_link = models.URLField(blank=True, verify_exists=False)
 	image = models.ImageField(upload_to='img/focus-areas', blank=True)
 	content = models.CharField(max_length=500, blank=True)
 
 	def __unicode__(self):
 		return self.name
-	
+
 	def url(self):
 		if self.link:
 			return self.link.get_absolute_url()
 	cache.delete(instance.cache_key)
 	cache.delete('sitemap-view')
 
-post_save.connect(clear_cached_page_view, sender=HtmlPage)
+post_save.connect(clear_cached_page_view, sender=HtmlPage)