<s> def geo_apps ( ) : <EOL> """<STR_LIT>""" <EOL> from django . db import connection <EOL> from django . contrib . gis . geos import GEOS_PREPARE <EOL> from django . contrib . gis . gdal import HAS_GDAL <EOL> apps = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> if not connection . ops . mysql : <EOL> apps . append ( '<STR_LIT>' ) <EOL> if connection . ops . postgis and connection . ops . geography : <EOL> apps . append ( '<STR_LIT>' ) <EOL> if HAS_GDAL : <EOL> apps . extend ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> if connection . ops . postgis and GEOS_PREPARE : <EOL> apps . append ( '<STR_LIT>' ) <EOL> return [ ( '<STR_LIT>' , app ) for app in apps ] </s>
