fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[wolnelektury.git]
/
apps
/
catalogue
/
models.py
diff --git
a/apps/catalogue/models.py
b/apps/catalogue/models.py
index
db91190
..
7bddbbd
100644
(file)
--- 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)
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()
book = models.ForeignKey(Book, related_name='fragments')
objects = models.Manager()