fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawienie requirements.txt (w tym podwyższenie wymaganej wersji Django do 1.1.1...
[redakcja.git]
/
apps
/
explorer
/
models.py
diff --git
a/apps/explorer/models.py
b/apps/explorer/models.py
index
a8a8c3b
..
23acd7f
100644
(file)
--- a/
apps/explorer/models.py
+++ b/
apps/explorer/models.py
@@
-55,12
+55,12
@@
class EditorPanel(models.Model):
def __unicode__(self):
return self.display_name
def __unicode__(self):
return self.display_name
-class
Book
(models.Model):
+class
Document
(models.Model):
class Meta:
permissions = (
("can_share", "Can share documents without pull requests."),
)
class Meta:
permissions = (
("can_share", "Can share documents without pull requests."),
)
- abstract=True
+
pass
class PullRequest(models.Model):
pass
class PullRequest(models.Model):
@@
-102,4
+102,4
@@
class GalleryForDocument(models.Model):
document = models.CharField(max_length=255)
def __unicode__(self):
document = models.CharField(max_length=255)
def __unicode__(self):
- return u"%s:%s" %
self.subpath, self.document
\ No newline at end of file
+ return u"%s:%s" %
(self.subpath, self.document)
\ No newline at end of file