comparison gpp/weblinks/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 d424b8bae71d
children
comparison
equal deleted inserted replaced
571:c2ba9c3395da 572:368d731af479
31 31
32 class LinkBase(models.Model): 32 class LinkBase(models.Model):
33 """Abstract model to aggregate common fields of a web link.""" 33 """Abstract model to aggregate common fields of a web link."""
34 category = models.ForeignKey(Category) 34 category = models.ForeignKey(Category)
35 title = models.CharField(max_length=128) 35 title = models.CharField(max_length=128)
36 url = models.URLField(verify_exists=False, db_index=True) 36 url = models.URLField(db_index=True)
37 description = models.TextField(blank=True) 37 description = models.TextField(blank=True)
38 user = models.ForeignKey(User) 38 user = models.ForeignKey(User)
39 date_added = models.DateTimeField(db_index=True) 39 date_added = models.DateTimeField(db_index=True)
40 update_date = models.DateTimeField(db_index=True, blank=True) 40 update_date = models.DateTimeField(db_index=True, blank=True)
41 41