Newer
Older
import datetime
from django.utils import timezone
from django.shortcuts import get_object_or_404, render
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.models import User
from django.core.mail import send_mail
from django.core.urlresolvers import reverse
from django.http import HttpResponse, HttpResponseRedirect
from django.views.decorators.csrf import csrf_protect
from django.db.models import Avg
from .models import *
from .forms import *
#from journals.forms import *
#from journals.models import *
############
# Journals
############
@csrf_protect
def journals(request):
return render(request, 'journals/journals.html')