<s> from django . conf . urls import url <EOL> from django . contrib . auth . decorators import login_required <EOL> from oscar . core . application import Application <EOL> from oscar . core . loading import get_class <EOL> class ProductReviewsApplication ( Application ) : <EOL> name = None <EOL> hidable_feature_name = "<STR_LIT>" <EOL> detail_view = get_class ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> create_view = get_class ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> vote_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 . detail_view . as_view ( ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , self . create_view . as_view ( ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> login_required ( self . vote_view . as_view ( ) ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , self . list_view . as_view ( ) , name = '<STR_LIT>' ) , <EOL> ] <EOL> return self . post_process_urls ( urls ) <EOL> application = ProductReviewsApplication ( ) </s>
