introduce rss and custom rss

This commit is contained in:
Markos Gogoulos
2020-12-25 00:49:38 +02:00
parent dc0eeae3e4
commit 9339443ddf
5 changed files with 157 additions and 9 deletions

View File

@@ -296,6 +296,8 @@ def search(request):
"""Search view"""
context = {}
RSS_URL = f"/rss{request.environ['REQUEST_URI']}"
context["RSS_URL"] = RSS_URL
return render(request, "cms/search.html", context)