def _filter_bultins(module):
 name = module.__name__
 return ((not name.startswith('django.contrib')) and (name != 'lettuce.django'))

def _filter_bultins ( module ) : name = module . __name__ return ( ( not name . startswith ( 'django.contrib' ) ) and ( name != 'lettuce.django' ) )
returns only those apps that are not builtin django .