Update by natay on Fri Dec 14 11:36:13 EST 2018 from H7-D25RF0PLGQ18
@@ -161,12 +161,6 @@ def project_list(request):
projects = auth.get_project_list(user=request.user)
projects = projects.order_by("-privacy", "-date", "-lastedit_date", "-id")
- if request.user.is_authenticated:
- user_projects = projects.filter(owner=request.user)
- remaining_projects = projects.exclude(owner=request.user)
- projects = user_projects | remaining_projects
- projects = projects.distinct()
-
context = dict(projects=projects)
return render(request, "project_list.html", context)
