Commit 32804aa3 authored by Mario Chirinos's avatar Mario Chirinos

Vista de noticia

parent eb449fca
......@@ -276,7 +276,7 @@ def newsList(request, publisherShortName="all"):
def newsDetails(request, newsId):
form = SearchForm(request.GET)
news = News.objects.get(id=newsId)
news.text = news.text
if "text" in request.GET:
translator = str.maketrans('', '', string.punctuation)
searchtext = request.GET['text'].translate(translator)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment