mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
10 lines
217 B
Python
10 lines
217 B
Python
def user_projects_processor(request):
|
|
if not request.user.is_authenticated:
|
|
return {
|
|
'user_projects': [],
|
|
}
|
|
|
|
return {
|
|
'user_projects': request.user.project_set.all(),
|
|
}
|