diff --git a/wscacicneo/templates/orgao.pt b/wscacicneo/templates/orgao.pt index 7bf00ef..7d568f9 100644 --- a/wscacicneo/templates/orgao.pt +++ b/wscacicneo/templates/orgao.pt @@ -75,7 +75,7 @@ } $.ajax({ type: "POST", - url: "post_orgao", + url: "${request.route_url('root')}post_orgao", data: data, success: function(){ alert('aaaaaaaaaaaaaaaaaaaaaa') }, error: function(){ alert('ooooooooooooooooooooooooo') }, diff --git a/wscacicneo/views.py b/wscacicneo/views.py index ebe5197..54f68e7 100644 --- a/wscacicneo/views.py +++ b/wscacicneo/views.py @@ -313,6 +313,7 @@ def post_user(request): """ Post doc users """ + print("SASDAKNADSHSADKNSADKBASDDASKJDSAKJSADHSADASDBKSADBKDSABKDSAKJ") rest_url = REST_URL userbase = UserBase().lbbase doc = request.params -- libgit2 0.21.2