<s> import django <EOL> from django . template import Library <EOL> if django . VERSION [ : <NUM_LIT:2> ] < ( <NUM_LIT:1> , <NUM_LIT:5> ) : <EOL> from django . templatetags . future import url as url_compat <EOL> else : <EOL> from django . template . defaulttags import url as url_compat <EOL> register = Library ( ) <EOL> @ register . tag <EOL> def url ( parser , token ) : <EOL> return url_compat ( parser , token ) </s>
