<s> class Conf ( object ) : <EOL> _render_url = '<STR_LIT>' <EOL> _render = True <EOL> _PROXY_DJANGO_SETTINGS = False <EOL> @ property <EOL> def RENDER_URL ( self ) : <EOL> if not self . _PROXY_DJANGO_SETTINGS : <EOL> return self . _render_url <EOL> from django . conf import settings <EOL> if hasattr ( settings , '<STR_LIT>' ) : <EOL> return settings . REACT . get ( '<STR_LIT>' , self . _render_url ) <EOL> return self . _render_url <EOL> @ property <EOL> def RENDER ( self ) : <EOL> if not self . _PROXY_DJANGO_SETTINGS : <EOL> return self . _render <EOL> from django . conf import settings <EOL> if hasattr ( settings , '<STR_LIT>' ) : <EOL> return settings . REACT . get ( '<STR_LIT>' , self . _render ) <EOL> return self . _render <EOL> def configure ( self , RENDER_URL = None , RENDER = None ) : <EOL> if RENDER_URL is not None : <EOL> self . _render_url = RENDER_URL <EOL> if RENDER is not None : <EOL> self . _render = RENDER <EOL> settings = Conf ( ) </s>
