From 4c477a6ad5ff5471ac85573c1bae5c0b5af61ba9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 18 Dec 2016 10:35:20 +0100 Subject: Tests: change test order to fix strange initialization (temporary) --- ishtar_common/wizards.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 6439a85c0..2fbe30e0e 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -562,18 +562,15 @@ class Wizard(NamedUrlWizardView): for k in saved_args: if k in dct: saved_args[k] = dct.pop(k) - print(dct) obj = self.get_saved_model()(**dct) if hasattr(obj, 'pre_save'): obj.pre_save() try: obj.full_clean() except ValidationError as e: - print(e) logger.warning(unicode(e)) return self.render(form_list[-1]) obj.save(**saved_args) - print("hop") for k in adds: getattr(obj, k).add(adds[k]) # necessary to manage interaction between models like -- cgit v1.2.3