From: Marek Stępniowski Date: Tue, 9 Sep 2008 13:16:20 +0000 (+0200) Subject: Made Fragment.anchor a CharField. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/85b57aa2d25552d82260ce40fd9b1063dd7c3dd5 Made Fragment.anchor a CharField. --- diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index db911900b..7bddbbd01 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -207,7 +207,7 @@ class Fragment(models.Model): text = models.TextField() short_text = models.TextField(editable=False) _short_html = models.TextField(editable=False) - anchor = models.IntegerField() + anchor = models.CharField(max_length=120) book = models.ForeignKey(Book, related_name='fragments') objects = models.Manager()