original_docstring: On migration reverse, add relax category back
docstring: On migration reverse, add relax category back
docstring_tokens: On migration reverse add relax category back
code: def add_relax_category(apps, schema_editor):
      """On migration reverse, add relax category back"""
      DestinationCategory = apps.get_model('destinations', 'DestinationCategory')
  
      try:
          relax = DestinationCategory.objects.create(name='Relax')
          relax.save()
      except IntegrityError as ex:
          print(ex)
code_tokens: def add_relax_category ( apps , schema_editor ) : DestinationCategory = apps . get_model ( 'destinations' , 'DestinationCategory' ) try : relax = DestinationCategory . objects . create ( name = 'Relax' ) relax . save ( ) except IntegrityError as ex : print ( ex )
short_docstring: On migration reverse, add relax category back
short_docstring_tokens: On migration reverse add relax category back
comment: """On migration reverse, add relax category back"""