def _patch_static_handler(handler):
if django.VERSION[:<NUM_LIT:2>] < (<NUM_LIT:1>, <NUM_LIT:3>):<EOL><INDENT>return<EOL><DEDENT>from django.contrib.staticfiles.handlers import StaticFilesHandler<EOL>return StaticFilesHandler(handler)<EOL>
Patch in support for static files serving if supported and enabled.