title: Django: How to rollback (@transaction.atomic) without raising exception?
body: <p>I'm using Django's command to perform some tasks involving database manipulation:</p>
  
  <pre><code>class SomeCommand(BaseCommand):
      @transaction.atomic
      def handle(self, *args, **options):
          # Some stuff on the database
  </code></pre>
  
  <p>If an exception is thrown during execution of my program, <code>@transaction.atomic</code> guarantees rollback. Can I force this behavior without throwing exception? Something like:</p>
  
  <pre><code># Doing some stuff, changing objects
  
  if some_condition:
      # ABANDON ALL CHANGES AND RETURN
  </code></pre>