Commit 16688359 authored by Ben Waters's avatar Ben Waters
Browse files

adding login required

parent 8fc3b326
from django.shortcuts import render
from django.shortcuts import render,login_required
from django.views.generic import (CreateView, ListView, DetailView, DeleteView,
UpdateView, FormView)
......@@ -35,6 +35,7 @@ def searchMajorMinor(request):
return build_trajectory(request)
def profile(request):
current_user = Student.objects.get(user__username=request.user.username)
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