Commit d137f404 authored by Mario Chirinos's avatar Mario Chirinos

truncate postmanager

parent fc83c967
......@@ -55,7 +55,7 @@ class News(models.Model):
text = TextField(verbose_name='News Text', default='', blank=True)
url = models.URLField(verbose_name='URL', max_length=512)
search_vector = SearchVectorField(null=True)
objects = PostManager()
# objects = PostManager()
def save(self, *args, **kwargs):
super(News, self).save(*args, **kwargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment