fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fixes in picture publishing process.
[wolnelektury.git]
/
apps
/
wolnelektury_core
/
views.py
diff --git
a/apps/wolnelektury_core/views.py
b/apps/wolnelektury_core/views.py
index
1ccd24a
..
5137173
100644
(file)
--- a/
apps/wolnelektury_core/views.py
+++ b/
apps/wolnelektury_core/views.py
@@
-145,3
+145,8
@@
def latest_blog_posts(request, feed_url=None, posts_to_show=5):
except:
posts = []
return render(request, 'latest_blog_posts.html', {'posts': posts})
except:
posts = []
return render(request, 'latest_blog_posts.html', {'posts': posts})
+
+
+@ssi_included(use_lang=False)
+def widget(request):
+ return render(request, 'widget.html')