def init_evolutions(app, created_models, **kwargs):
 if (FileDiff in created_models):
  return
 try:
  latest_version = django_evolution.Version.objects.latest(u'when')
 except django_evolution.Version.DoesNotExist:
  latest_version = None
 if latest_version:
  try:
   FileDiff.objects.filter(parent_diff64=u'')
   return
  except:
   django_evolution.Version.objects.all().delete()
   django_evolution.Evolution.objects.all().delete()
 call_command(u'loaddata', u'admin/fixtures/initial_evolution_schema.json', verbosity=0)

def init_evolutions ( app , created_models , ** kwargs ) : if ( FileDiff in created_models ) : return try : latest_version = django_evolution . Version . objects . latest ( u'when' ) except django_evolution . Version . DoesNotExist : latest_version = None if latest_version : try : FileDiff . objects . filter ( parent_diff64 = u'' ) return except : django_evolution . Version . objects . all ( ) . delete ( ) django_evolution . Evolution . objects . all ( ) . delete ( ) call_command ( u'loaddata' , u'admin/fixtures/initial_evolution_schema.json' , verbosity = 0 )
attempt to initialize the django evolution schema signatures .