This repository has been archived on 2021-06-29. You can view files and clone it, but cannot push or open issues or pull requests.
|
def user_is_staff(request):
|
|
return {
|
|
'USER_IS_STAFF': request.user.is_staff
|
|
}
|
|
|
|
|
|
def user_configuration(request):
|
|
return {
|
|
'USER_CONFIG': {
|
|
'show_admin_links': False
|
|
}
|
|
}
|