From 2fb27ac831c7440a41f991d91ac9f82e8189f01f Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Wed, 3 Feb 2016 09:59:24 -0200 Subject: [PATCH] Remove print statements used for debugging --- base/views.py | 1 - sapl/crud.py | 1 - 2 files changed, 2 deletions(-) diff --git a/base/views.py b/base/views.py index 88f61415e..5f7247d09 100644 --- a/base/views.py +++ b/base/views.py @@ -26,7 +26,6 @@ class HelpView(TemplateView): # XXX treat non existing template as a 404!!!! def get_template_names(self): - print(self.kwargs['topic']) return ['ajuda/%s.html' % self.kwargs['topic']] diff --git a/sapl/crud.py b/sapl/crud.py index 69f5f5779..97a38dd24 100644 --- a/sapl/crud.py +++ b/sapl/crud.py @@ -174,7 +174,6 @@ def build_crud(model, help_path, layout): If the form is invalid, re-render the context data with the data-filled form and errors. """ - print(form.errors) return self.render_to_response(self.get_context_data(form=form)) def get_success_url(self):