X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0c889e3a716a781e8a875d8c6f54490fa6e570c9..7f9492091585f0d14aa6ff66731a8cadb611fc43:/apps/catalogue/models.py 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()