def remove_job_submit_sidebar_box(apps, schema_editor):
 Box = apps.get_model(u'boxes', u'Box')
 try:
  submit_box = Box.objects.get(label=u'jobs-submitajob')
  submit_box.delete()
 except Box.DoesNotExist:
  pass

def remove_job_submit_sidebar_box ( apps , schema_editor ) : Box = apps . get_model ( u'boxes' , u'Box' ) try : submit_box = Box . objects . get ( label = u'jobs-submitajob' ) submit_box . delete ( ) except Box . DoesNotExist : pass
remove jobs-submitajob box .