X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d69fc5f16ed739c02685e7d695abf6de59c2bf5e..0e79f07515678e3e678c3637124a27cb81ee8a94:/apps/wolnelektury_core/views.py?ds=sidebyside diff --git a/apps/wolnelektury_core/views.py b/apps/wolnelektury_core/views.py index 1ccd24a59..51371735a 100644 --- 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}) + + +@ssi_included(use_lang=False) +def widget(request): + return render(request, 'widget.html')