equal
deleted
inserted
replaced
1 from django.shortcuts import render_to_response, redirect |
|
2 from django.http import Http404 |
|
3 |
|
4 from django.contrib.auth.decorators import login_required |
1 from django.contrib.auth.decorators import login_required |
5 from django.core.context_processors import csrf |
2 from django.core.context_processors import csrf |
6 from django.views.decorators.csrf import csrf_protect |
3 from django.http import Http404 |
|
4 from django.shortcuts import redirect |
|
5 from django.shortcuts import render_to_response |
7 |
6 |
8 from pytask.profile.forms import EditProfileForm |
7 from pytask.profile.forms import EditProfileForm |
9 from pytask.profile.utils import get_notification, get_user |
8 from pytask.profile.utils import get_notification |
|
9 from pytask.profile.utils import get_user |
|
10 |
10 |
11 |
11 @login_required |
12 @login_required |
12 def view_profile(request): |
13 def view_profile(request): |
13 """ Display the profile information. |
14 """ Display the profile information. |
14 """ |
15 """ |