X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bba194a0db2cbeb8c8120a8c3fca21e2e52475d1..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()