Browse Source

Remove print statements used for debugging

pull/202/head
Marcio Mazza 9 years ago
parent
commit
2fb27ac831
  1. 1
      base/views.py
  2. 1
      sapl/crud.py

1
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']]

1
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):

Loading…
Cancel
Save