mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
feat: logout | testes permissoes | redirecionamento com base no gupo do usuario
This commit is contained in:
Binary file not shown.
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{% block 'head' %}
|
||||
<link rel="stylesheet" href="{% static 'home/css/home.css' %}">
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ def home(request):
|
||||
|
||||
@group_required(groupName='Gerente')
|
||||
def chartCuisine(request):
|
||||
print(request.user.id)
|
||||
print(request.user.groups.all())
|
||||
print(request.user.is_authenticated)
|
||||
# fulano = User()
|
||||
tFila = []
|
||||
|
||||
Reference in New Issue
Block a user