<s> from django . conf . urls import url <EOL> from oscar . core . application import Application <EOL> from oscar . core . loading import get_class <EOL> class OfferApplication ( Application ) : <EOL> name = '<STR_LIT>' <EOL> detail_view = get_class ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> list_view = get_class ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> def get_urls ( self ) : <EOL> urls = [ <EOL> url ( r'<STR_LIT>' , self . list_view . as_view ( ) , name = '<STR_LIT:list>' ) , <EOL> url ( r'<STR_LIT>' , self . detail_view . as_view ( ) , <EOL> name = '<STR_LIT>' ) , <EOL> ] <EOL> return self . post_process_urls ( urls ) <EOL> application = OfferApplication ( ) </s>
