def DetailsCoinDesk(request, pk): if not (isUserSubscribedByRequest(request)): printUserSubscriptionHasRunOut(request) return redirect(member) post = get_object_or_404(ContentCoinDesk, pk=pk) PageRefAddContent = 'NewBlockchainNews' response = render(request, 'user_area/user/Content_Pages/News-Article.html', { 'post': post, 'PageRefAddContent': PageRefAddContent }) return response
def DetailsMoiseievYurii(request, pk): if not (isUserSubscribedByRequest(request)): printUserSubscriptionHasRunOut(request) return redirect(member) post = get_object_or_404(Content_Moiseiev_Yurii, pk=pk) PageRefAddContent = 'Technical Analysis' response = render(request, 'user_area/user/Content_Pages/TA-Article.html', { 'post': post, 'PageRefAddContent': PageRefAddContent }) return response