Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
advisor
Commits
5c09c6a4
Commit
5c09c6a4
authored
Mar 02, 2014
by
Ben Waters
Browse files
more shortcuts
parent
15647393
Changes
1
Show whitespace changes
Inline
Side-by-side
advisor/mainapp/views.py
View file @
5c09c6a4
...
...
@@ -38,7 +38,7 @@ def searchMajorMinor(request):
#API SHIT
@
login_required
def
profile
(
request
):
current_user
=
Student
.
objects
.
get
(
user__username
=
request
.
user
.
username
)
current_user
=
get_object_or_404
(
Student
,
user__username
=
request
.
user
.
username
)
return
render_to_response
(
'profile.html'
,
{
"user"
:
current_user
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment