fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update librarian
[redakcja.git]
/
apps
/
catalogue
/
views.py
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
e6f6cca
..
3d1a47f
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-571,7
+571,7
@@
def publish(request, slug):
except NotAuthorizedError:
return http.HttpResponseRedirect(reverse('apiclient_oauth'))
except BaseException, e:
except NotAuthorizedError:
return http.HttpResponseRedirect(reverse('apiclient_oauth'))
except BaseException, e:
- return http.HttpResponse(
e
)
+ return http.HttpResponse(
repr(e)
)
else:
return http.HttpResponseRedirect(book.get_absolute_url())
else:
return http.HttpResponseRedirect(book.get_absolute_url())