<s> import json <EOL> import time <EOL> from django . conf import settings <EOL> def get_config ( ) : <EOL> if getattr ( settings , '<STR_LIT>' , False ) : <EOL> timestamp = "<STR_LIT>" <EOL> else : <EOL> timestamp = int ( time . time ( ) ) <EOL> js_configuration = { <EOL> '<STR_LIT>' : settings . JS_DEBUG , <EOL> '<STR_LIT>' : timestamp , <EOL> '<STR_LIT>' : settings . STATIC_URL , <EOL> } <EOL> config = '<STR_LIT>' % json . dumps ( js_configuration ) <EOL> return config </s>
