<s> from django . apps import AppConfig <EOL> from django . conf import settings <EOL> from django . core . exceptions import ImproperlyConfigured <EOL> import webpack . conf <EOL> FINDER_PATH = '<STR_LIT>' <EOL> class WebpackConfig ( AppConfig ) : <EOL> name = '<STR_LIT>' <EOL> def ready ( self ) : <EOL> if ( <EOL> ( '<STR_LIT>' in settings . INSTALLED_APPS or '<STR_LIT>' in settings . INSTALLED_APPS ) and <EOL> FINDER_PATH not in settings . STATICFILES_FINDERS <EOL> ) : <EOL> raise ImproperlyConfigured ( <EOL> ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> ) . format ( FINDER_PATH ) <EOL> ) <EOL> webpack . conf . settings . configure ( <EOL> ** getattr ( settings , '<STR_LIT>' , { } ) <EOL> ) </s>
