From 1d7cdfdc1ba1105ff5a1ffc0c4d1f9625027de06 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 8a80676d7..a17146596 100644 --- a/base/views.py +++ b/base/views.py @@ -25,7 +25,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):