Mercurial > public > sg101
comparison gpp/gcalendar/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 | 9a4bffdf37c3 |
children |
comparison
equal
deleted
inserted
replaced
571:c2ba9c3395da | 572:368d731af479 |
---|---|
55 where = models.CharField(max_length=255, blank=True) | 55 where = models.CharField(max_length=255, blank=True) |
56 description = models.TextField(blank=True) | 56 description = models.TextField(blank=True) |
57 html = models.TextField(blank=True) | 57 html = models.TextField(blank=True) |
58 date_submitted = models.DateTimeField(auto_now_add=True) | 58 date_submitted = models.DateTimeField(auto_now_add=True) |
59 google_id = models.CharField(max_length=255, blank=True) | 59 google_id = models.CharField(max_length=255, blank=True) |
60 google_url = models.URLField(verify_exists=False, max_length=255, | 60 google_url = models.URLField(max_length=255, blank=True) |
61 blank=True) | |
62 status = models.SmallIntegerField(choices=STATUS_CHOICES, default=NEW, | 61 status = models.SmallIntegerField(choices=STATUS_CHOICES, default=NEW, |
63 db_index=True) | 62 db_index=True) |
64 create_forum_thread = models.BooleanField(default=False) | 63 create_forum_thread = models.BooleanField(default=False) |
65 | 64 |
66 objects = models.Manager() | 65 objects = models.Manager() |