mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-31 10:20:08 -06: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(),
|
|
}
|