old_contents: from django.core.management.base import BaseCommand
  
  from us_ignite.snippets.models import Snippet
  
  
  FIXTURES = [
      {
          'slug': 'home-box',
          'name': 'Up next:',
          'body': '',
          'url_text': 'Get involved',
          'url': '',
      },
  ]
  
  
  class Command(BaseCommand):
  
      def handle(self, *args, **options):
          for data in FIXTURES:
              try:
                  # Ignore existing snippets:
                  Snippet.objects.get(slug=data['slug'])
                  continue
              except Snippet.DoesNotExist:
                  pass
              data.update({
                  'status': Snippet.PUBLISHED,
              })
              Snippet.objects.create(**data)
              print u'Importing %s' % data['slug']
          print "Done!"
  
new_contents: from django.core.management.base import BaseCommand
  
  from us_ignite.snippets.models import Snippet
  
  
  FIXTURES = [
      {
          'slug': 'home-box',
          'name': 'UP NEXT: LOREM IPSUM',
          'body': '',
          'url_text': 'GET INVOLVED',
          'url': '',
      },
      {
          'slug': 'featured',
          'name': 'FEATURED CONTENT',
          'body': '',
          'url_text': 'FEATURED',
          'url': '',
      },
  ]
  
  
  class Command(BaseCommand):
  
      def handle(self, *args, **options):
          for data in FIXTURES:
              try:
                  # Ignore existing snippets:
                  Snippet.objects.get(slug=data['slug'])
                  continue
              except Snippet.DoesNotExist:
                  pass
              data.update({
                  'status': Snippet.PUBLISHED,
              })
              Snippet.objects.create(**data)
              print u'Importing %s' % data['slug']
          print "Done!"
  
subject: Add featured homepage initial fixture.