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