SEBA-227 do not validate deleted objects

Change-Id: I8de623f0904c5fd52296acf02dd98379065c11bc
diff --git a/lib/xos-genx/xosgenx/targets/django.xtarget b/lib/xos-genx/xosgenx/targets/django.xtarget
index ab67936..1c06de3 100644
--- a/lib/xos-genx/xosgenx/targets/django.xtarget
+++ b/lib/xos-genx/xosgenx/targets/django.xtarget
@@ -99,7 +99,8 @@
       except AttributeError:
           pass
 
-      self.full_clean()
+      if not self.deleted:
+          self.full_clean()
 
       {% for policy,error in xproto_validations(m.options) %}
       policy_{{policy}}_validator(self, None)
diff --git a/lib/xos-genx/xosgenx/targets/service.xtarget b/lib/xos-genx/xosgenx/targets/service.xtarget
index 1e83747..1027680 100644
--- a/lib/xos-genx/xosgenx/targets/service.xtarget
+++ b/lib/xos-genx/xosgenx/targets/service.xtarget
@@ -91,7 +91,8 @@
       except AttributeError:
           base_save_in_attic = False
 
-      self.full_clean()
+      if not self.deleted:
+          self.full_clean()
 
       if not base_save_in_attic:
           super({{ m.name }}{{ legacy_tag }}, self).save(*args, **kwds)