Commit 3df6bffd authored by Daniel W Bond's avatar Daniel W Bond

views for the compare app

parent 9f5adcc6
from django.shortcuts import render
from django.shortcuts import render_to_response
# Create your views here.
from django.contrib.auth.decorators import login_required
from mainapp.models import (Trajectory, Course)
#@login_required
def compare(request):
trajectories = Trajectory.objects.all()
return render_to_response('compare.html', {
'trajectories' : trajectories,
})
#@login_required
def analytics(request):
trajectories = Trajectory.objects.all()
return render_to_response('analytics.html', {
'trajectories' : trajectories,
})
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