diff --git a/wscacicneo/templates/favoritos.pt b/wscacicneo/templates/favoritos.pt index de8fee2..2b9afac 100644 --- a/wscacicneo/templates/favoritos.pt +++ b/wscacicneo/templates/favoritos.pt @@ -28,7 +28,7 @@
  • Questionar Coleta
  • - + Notificações @@ -39,14 +39,17 @@
    Favoritos
    - +
    -
    diff --git a/wscacicneo/views.py b/wscacicneo/views.py index 811bba8..9a7c00e 100644 --- a/wscacicneo/views.py +++ b/wscacicneo/views.py @@ -118,8 +118,8 @@ def favoritos(request): senha = 'senha' ) search = user_obj.search_user(matricula) - print(search.results[0]) - return { } + favoritos = search.results[0].favoritos + return {'favoritos': favoritos } @view_config(route_name='config', renderer='templates/config.pt') def config(request): -- libgit2 0.21.2