Commit 043377c7 authored by fred's avatar fred

render using dict (1.11)

parent 445a2b55
......@@ -3,7 +3,7 @@ import datetime
from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.core.urlresolvers import reverse
from django.template import loader, Context
from django.template import loader
from django.views.generic.base import TemplateView, RedirectView
from django.views.generic.list import ListView
from django.contrib import messages
......@@ -71,7 +71,7 @@ class NewsletterCreateView(newsletter.views.NewsletterCreateView):
newsletter_body = loader.get_template('newsletter/body.html')
newsletter_subject = loader.get_template('newsletter/subject.txt')
context = Context()
context = {}
date = datetime.datetime.today()
if date.weekday() > 0:
......
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