<s> from __future__ import unicode_literals <EOL> from django . conf . urls import url <EOL> from machina . core . app import Application <EOL> from machina . core . loading import get_class <EOL> class PollsApp ( Application ) : <EOL> name = None <EOL> attachment_view = get_class ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> def get_urls ( self ) : <EOL> return [ <EOL> url ( r'<STR_LIT>' , self . attachment_view . as_view ( ) , name = '<STR_LIT>' ) , <EOL> ] <EOL> application = PollsApp ( ) </s>
