Mercurial > public > sg101
comparison gpp/ygroup/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 | 0c18dfb1da1c |
children |
comparison
equal
deleted
inserted
replaced
571:c2ba9c3395da | 572:368d731af479 |
---|---|
32 creation_date = models.DateTimeField() | 32 creation_date = models.DateTimeField() |
33 poster = models.CharField(max_length=128) | 33 poster = models.CharField(max_length=128) |
34 msg = models.TextField() | 34 msg = models.TextField() |
35 | 35 |
36 # precomputed URL to this post in the parent thread for efficiency | 36 # precomputed URL to this post in the parent thread for efficiency |
37 thread_url = models.URLField(verify_exists=False, blank=True) | 37 thread_url = models.URLField(blank=True) |
38 | 38 |
39 class Meta: | 39 class Meta: |
40 ordering = ('creation_date', ) | 40 ordering = ('creation_date', ) |
41 verbose_name = 'yahoo group post' | 41 verbose_name = 'yahoo group post' |
42 verbose_name_plural = 'yahoo group posts' | 42 verbose_name_plural = 'yahoo group posts' |