fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editing and merging books, adding and editing book chunks,
[redakcja.git]
/
apps
/
dvcs
/
models.py
diff --git
a/apps/dvcs/models.py
b/apps/dvcs/models.py
index
6c5796a
..
5ce00c0
100644
(file)
--- a/
apps/dvcs/models.py
+++ b/
apps/dvcs/models.py
@@
-167,10
+167,11
@@
class Document(models.Model):
"""
File in repository.
"""
"""
File in repository.
"""
- creator = models.ForeignKey(User, null=True, blank=True)
+ creator = models.ForeignKey(User, null=True, blank=True
, editable=False
)
head = models.ForeignKey(Change,
null=True, blank=True, default=None,
head = models.ForeignKey(Change,
null=True, blank=True, default=None,
- help_text=_("This document's current head."))
+ help_text=_("This document's current head."),
+ editable=False)
def __unicode__(self):
return u"{0}, HEAD: {1}".format(self.id, self.head_id)
def __unicode__(self):
return u"{0}, HEAD: {1}".format(self.id, self.head_id)