fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba194a
)
Made Fragment.anchor a CharField.
author
Marek Stępniowski
<marek@stepniowski.com>
Tue, 9 Sep 2008 13:16:20 +0000
(15:16 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Tue, 9 Sep 2008 13:16:20 +0000
(15:16 +0200)
apps/catalogue/models.py
patch
|
blob
|
history
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)
- anchor = models.
IntegerField(
)
+ anchor = models.
CharField(max_length=120
)
book = models.ForeignKey(Book, related_name='fragments')
objects = models.Manager()