Commits

Yorgos Pagles  committed e1bd5f3

Reviewed rendering

  • Participants
  • Parent commits f8e0da0

Comments (0)

Files changed (1)

File newsletter/views.py

     }
 
     return render(
-        request,
-        "newsletter/subscription_subscribe_user.html",
-        env, context_instance=RequestContext(request))
+        reuqest=request,
+        templates="newsletter/subscription_subscribe_user.html",
+        dictionary=env, context_instance=RequestContext(request))
 
 
 @login_required
     }
 
     return render(
-        request,
-        "newsletter/subscription_unsubscribe_user.html",
-        env, context_instance=RequestContext(request))
+        request=request,
+        templates="newsletter/subscription_unsubscribe_user.html",
+        dictionary=env, context_instance=RequestContext(request))
 
 
 def subscribe_request(request, newsletter_slug, confirm=False):
     }
 
     return render(
-        "newsletter/subscription_subscribe.html",
-        env, context_instance=RequestContext(request))
+        request=request,
+        templates="newsletter/subscription_subscribe.html",
+        dictionary=env, context_instance=RequestContext(request))
 
 
 def unsubscribe_request(request, newsletter_slug, confirm=False):
     }
 
     return render(
-        request,
-        "newsletter/subscription_unsubscribe.html",
-        env, context_instance=RequestContext(request))
+        request=request,
+        templates="newsletter/subscription_unsubscribe.html",
+        dictionary=env, context_instance=RequestContext(request))
 
 
 def update_request(request, newsletter_slug):
     }
 
     return render(
-        request,
-        "newsletter/subscription_update.html",
-        env, context_instance=RequestContext(request))
+        request=request,
+        templates="newsletter/subscription_update.html",
+        dictionary=env, context_instance=RequestContext(request))
 
 
 def update_subscription(request, newsletter_slug,
     }
 
     return render(
-        request,
-        "newsletter/subscription_activate.html", env,
-        context_instance=RequestContext(request)
+        request=request,
+        templates="newsletter/subscription_activate.html",
+        dictionary=env, context_instance=RequestContext(request)
     )