Commit 7b8447e9 authored by Rafal's avatar Rafal

new dashboard

parent 391a28e4
...@@ -154,6 +154,7 @@ def dashboard(request): ...@@ -154,6 +154,7 @@ def dashboard(request):
user_projects = UserProject.objects.filter(author = request.user) user_projects = UserProject.objects.filter(author = request.user)
data = {} data = {}
data['user_projects'] = user_projects data['user_projects'] = user_projects
data['user_id'] = request.user.id
return render_to_response('user_panel/content/dashboard.html', data, context) return render_to_response('user_panel/content/dashboard.html', data, context)
def project(request, project_id): def project(request, project_id):
......
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