fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Epub debugging.
[redakcja.git]
/
src
/
documents
/
models
/
image.py
diff --git
a/src/documents/models/image.py
b/src/documents/models/image.py
index
b05c928
..
c14cca0
100644
(file)
--- a/
src/documents/models/image.py
+++ b/
src/documents/models/image.py
@@
-6,7
+6,7
@@
from django.contrib.sites.models import Site
from django.db import models
from django.template.loader import render_to_string
from django.urls import reverse
from django.db import models
from django.template.loader import render_to_string
from django.urls import reverse
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from documents.helpers import cached_in_field
from documents.models import Project
from dvcs import models as dvcs_models
from documents.helpers import cached_in_field
from documents.models import Project
from dvcs import models as dvcs_models
@@
-72,7
+72,7
@@
class Image(dvcs_models.Document):
return open(self.image.path)
publishable = self.publishable()
return open(self.image.path)
publishable = self.publishable()
- assert publishable, _("There is no
publishable
revision")
+ assert publishable, _("There is no
approved
revision")
picture_xml = publishable.materialize()
try:
picture_xml = publishable.materialize()
try: